Apart from installing the cassandra driver what is the other possible solution because installation of driver...
up vote
-1
down vote
favorite
Code:
from cassandra.cluster import Cluster,SimpleStatement
cluster = Cluster(['192.168.2.1'])
session = cluster.connect()
Error:
ImportError: No module named 'cassandra'
cassandra cassandra-python-driver
add a comment |
up vote
-1
down vote
favorite
Code:
from cassandra.cluster import Cluster,SimpleStatement
cluster = Cluster(['192.168.2.1'])
session = cluster.connect()
Error:
ImportError: No module named 'cassandra'
cassandra cassandra-python-driver
1
The errorNo module named 'cassandra'
simply means that the driver was not installed successfully. You need to check your installation or virtual environment
– ernest_k
Nov 20 at 5:32
when i tried to install the driver again it simply show this message : Requirement already satisfied: and when i initially installed it ... it is successfully installed
– sherry
Nov 20 at 6:36
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
Code:
from cassandra.cluster import Cluster,SimpleStatement
cluster = Cluster(['192.168.2.1'])
session = cluster.connect()
Error:
ImportError: No module named 'cassandra'
cassandra cassandra-python-driver
Code:
from cassandra.cluster import Cluster,SimpleStatement
cluster = Cluster(['192.168.2.1'])
session = cluster.connect()
Error:
ImportError: No module named 'cassandra'
cassandra cassandra-python-driver
cassandra cassandra-python-driver
edited Nov 20 at 5:31
ernest_k
18.5k41838
18.5k41838
asked Nov 20 at 5:24
sherry
1
1
1
The errorNo module named 'cassandra'
simply means that the driver was not installed successfully. You need to check your installation or virtual environment
– ernest_k
Nov 20 at 5:32
when i tried to install the driver again it simply show this message : Requirement already satisfied: and when i initially installed it ... it is successfully installed
– sherry
Nov 20 at 6:36
add a comment |
1
The errorNo module named 'cassandra'
simply means that the driver was not installed successfully. You need to check your installation or virtual environment
– ernest_k
Nov 20 at 5:32
when i tried to install the driver again it simply show this message : Requirement already satisfied: and when i initially installed it ... it is successfully installed
– sherry
Nov 20 at 6:36
1
1
The error
No module named 'cassandra'
simply means that the driver was not installed successfully. You need to check your installation or virtual environment– ernest_k
Nov 20 at 5:32
The error
No module named 'cassandra'
simply means that the driver was not installed successfully. You need to check your installation or virtual environment– ernest_k
Nov 20 at 5:32
when i tried to install the driver again it simply show this message : Requirement already satisfied: and when i initially installed it ... it is successfully installed
– sherry
Nov 20 at 6:36
when i tried to install the driver again it simply show this message : Requirement already satisfied: and when i initially installed it ... it is successfully installed
– sherry
Nov 20 at 6:36
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
draft saved
draft discarded
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53386710%2fapart-from-installing-the-cassandra-driver-what-is-the-other-possible-solution-b%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
The error
No module named 'cassandra'
simply means that the driver was not installed successfully. You need to check your installation or virtual environment– ernest_k
Nov 20 at 5:32
when i tried to install the driver again it simply show this message : Requirement already satisfied: and when i initially installed it ... it is successfully installed
– sherry
Nov 20 at 6:36