0
virtual env에 패키지를 설치하려고합니다. 나는 그것이 pip
를 사용하여 설치하는 경우모듈이 이미 설치되어 있어도 ImportError가 발생합니다.
(venv)pynanomsg]$ python
>>> import constants
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named constants
, 그것은 말한다 :
$ pip install constants
Requirement already satisfied: constants in /usr/local/lib/python2.7/site-packages