Leila
Leila

Reputation: 61

installing a python package in virtual environment

I want to install quippy which is supported by python2.7. I created a virtual environment:

virtualenv -p /usr/bin/python2.7 quippy_env

and activated it. I compilation looks fine and I got no errors. However, when I try to import quippy it gives me the error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named quippy

I would appreciate your comments.

Upvotes: 0

Views: 76

Answers (2)

Digitag
Digitag

Reputation: 275

maybe manually download the package and install it.

Upvotes: 0

MDah
MDah

Reputation: 424

Did you install quippy?

in your virtual env run

pip install quippy

Most of the time the NoModuleFound exception is due to not having the python package installed in your env.

Upvotes: 1

Related Questions