Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ok so I was hoping tht pycharm would respect my virtialenv but apperently it did not.
Duanes-Air-4:crown Duane$ pip show cqlsh cqlengine six cassandra-driver
---
Name: cqlsh
Version: 4.1.1
Location: /Library/Python/2.7/site-packages
Requires: cql, simplejson, unittest2
---
Name: cqlengine
Version: 0.20.0
Location: /Library/Python/2.7/site-packages
Requires: cassandra-driver, six
---
Name: six
Version: 1.8.0
Location: /Library/Python/2.7/site-packages
Requires:
---
Name: cassandra-driver
Version: 2.1.2
Location: /Library/Python/2.7/site-packages
Requires: futures, six
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python /Users/Duane/wokspace/crown/crown.py
2.7.6 (default, Sep 9 2014, 15:04:36)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)]
Traceback (most recent call last):
File "/Users/Duane/wokspace/crown/crown.py", line 4, in <module>
import cqlengine # backend long term data store
File "/Library/Python/2.7/site-packages/cqlengine/__init__.py", line 7, in <module>
from cqlengine.models import Model
File "/Library/Python/2.7/site-packages/cqlengine/models.py", line 7, in <module>
from cqlengine.query import ModelQuerySet, DMLQuery, AbstractQueryableColumn
File "/Library/Python/2.7/site-packages/cqlengine/query.py", line 7, in <module>
from cqlengine.connection import execute
File "/Library/Python/2.7/site-packages/cqlengine/connection.py", line 6, in <module>
from cassandra.cluster import Cluster, NoHostAvailable
File "/Library/Python/2.7/site-packages/cassandra/cluster.py", line 47, in <module>
from cassandra.connection import ConnectionException, ConnectionShutdown
File "/Library/Python/2.7/site-packages/cassandra/connection.py", line 29, in <module>
from six.moves.queue import Queue, Empty # noqa
ImportError: No module named queue
Process finished with exit code 1
@duaneking

This comment has been minimized.

Copy link
Owner Author

commented Nov 22, 2014

I hate pycharm when it does this thing where it just forgets to use a virtaulenv and defaults to the system install of python at random times..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.