推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
lixia625
V2EX  ›  Python

virtualenv 下 import Crypto 问题

  •  
  •   lixia625 · Aug 20, 2015 · 2664 views
    This topic created in 3919 days ago, the information mentioned may be changed or developed.
    首先,在非 venv 下 pip install pycrypto,之后在 python 中 import Crypto,成功;
    之后 . venv/bin/activate (which python 显示虚环境已成功激活),
    再 pip install pycrypto,之后在 python 中 import Crypto,报错
    ImportError: No module named Crypto
    会是什么原因呢?
    1 replies    2015-08-20 17:06:41 +08:00
    saber000
        1
    saber000  
       Aug 20, 2015
    PYTHONPATH 没设置对吧?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3977 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 62ms · UTC 05:06 · PVG 13:06 · LAX 22:06 · JFK 01:06
    ♥ Do have faith in what you're doing.