我激活了一个 virtualenv,我正在运行一个命令
celery -A dnslookup worker --loglevel=info
投掷
Traceback (most recent call last):
File "/Users/myuser/dev/project-backend-ENV/bin/celery", line 5, in <module>
from pkg_resources import load_entry_point
File "/Users/myuser/dev/project-backend-ENV/lib/python2.7/site-packages/setuptools- 0.6c11-py2.7.egg/pkg_resources.py", line 2607, in <module>
File "/Users/myuser/dev/project-backend-ENV/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 565, in resolve
pkg_resources.DistributionNotFound: python-dateutil>=1.5,<2.0
但是 python-dateutil 安装在我的 virtualenv 中。
我该如何解决?