You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: in-progress/managing.adoc
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2783,7 +2783,6 @@ This can act as a convenient alternative to installing and configuring a xref:as
2783
2783
To use `cqlsh` commands, you must have a supported version of Python installed on your system.
2784
2784
The underlying `cqlsh` utility requires Python 2.7 (with TLS support) or Python 3.6--3.11.
2785
2785
Python versions 3.12 and later are not supported.
2786
-
For more details, see this https://support.datastax.com/s/article/cqlsh-may-fail-with-A-Python-installation-with-SSL-is-required-to-connect-to-a-cloud-cluster-when-connecting-to-Astra[Support article]
2787
2786
2788
2787
Use the `astra db cqlsh` command to start `cqlsh` in interactive mode:
Copy file name to clipboardExpand all lines: modules/quickstarts/pages/cqlsh.adoc
+34-7Lines changed: 34 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,18 +12,45 @@ The first time you run an `astra db cqlsh` command, the {product} downloads and
12
12
All `astra db cqlsh` commands require a database name or ID.
13
13
The first time you connect to a specific database, {product} downloads the database's {scb} into the {product} home directory.
14
14
15
+
[#prerequisites]
15
16
== Prerequisites
16
17
17
-
To use `cqlsh` commands, you must have a supported version of Python installed on your system.
18
+
The `cqlsh` commands require one of the following supported versions of Python with SSL/TLS:
18
19
19
-
The underlying `cqlsh` utility requires Python 2.7 with TLS support, or any version of Python from 3.6 through 3.11.
20
-
Python versions 3.12 and later are not supported.
21
-
For more details, see this https://support.datastax.com/s/article/cqlsh-may-fail-with-A-Python-installation-with-SSL-is-required-to-connect-to-a-cloud-cluster-when-connecting-to-Astra[support article]
20
+
* Python 3.6 to 3.11
21
+
* Python 2.7.12 or later
22
22
23
-
Any supported version of Python must be available in your system's `PATH` for the {product} to use it.
24
-
It does not require that the supported version be your system's default version of Python.
23
+
All other versions aren't supported.
25
24
26
-
If the {product} reports `ModuleNotFoundError` after running any of the `astra db cqlsh` commands, you might not have a supported version of Python available in your system's `PATH`.
25
+
Any supported Python version must be installed on your system _and_ available in your system's `PATH` for the {product} to use it with the `cqlsh` commands.
26
+
This version doesn't need to be your system's default Python version as long as it's available in the `PATH`.
27
+
28
+
=== Troubleshoot ModuleNotFoundError and Python installation errors
29
+
30
+
If the {product} reports `ModuleNotFoundError` after running any of the `astra db cqlsh` commands, make sure you have a <<prerequisites,supported Python version>> available in your system's `PATH`.
31
+
32
+
The error `A Python installation with SSL is required to connect to a cloud cluster` means that the detected Python version doesn't support TLS.
33
+
This typically happens with Python versions earlier than 2.7.12, which don't support TLS.
34
+
35
+
.Verify TLS support
36
+
[%collapsible]
37
+
====
38
+
To verify whether your current Python version supports TLS, run the following command:
0 commit comments