Skip to content

[BUG] Performing astra db cqlsh start <DB UUID> errors with pyenv: python3.11: command not found #268

@msmygit

Description

@msmygit

While working with the latest Astra CLI,

% astra --version
v1.0.2

and attempting to start the CQLSH to my Astra DB serverless non-vector flavored cluster, I get the below error:

madhavan.sridharan@Madhavan-Sridharan astra-tools % astra db cqlsh start 384bd493-af93-45fb-84c3-29ce2863d6f0 
[INFO] Patched cqlsh script to try known supported Python versions first
pyenv: python3.11: command not found                                

The `python3.11' command exists in these Python versions:
  3.11.11

Note: See 'pyenv help global' for tips on allowing both
      python2 and python3 to be found.
Traceback (most recent call last):
  File "/Users/madhavan.sridharan/.astra/cqlsh-astra@v1/6.8.0/bin/dsecqlsh.py", line 95, in <module>
    import cqlsh  # nopep8
    ^^^^^^^^^^^^
  File "/Users/madhavan.sridharan/.astra/cqlsh-astra@v1/6.8.0/bin/cqlsh.py", line 153, in <module>
    from six.moves import configparser, input
ModuleNotFoundError: No module named 'six.moves'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions