利用django虚拟环境python2.7 启动django 执行runserver 报错,~~~
File "/usr/lib64/python2.7/tempfile.py", line 35, in <module> from random import Random as _Random
File "/usr/lib64/python2.7/random.py", line 49, in <module>
import hashlib as _hashlib
File "/usr/lib64/python2.7/hashlib.py", line 116, in <module>
import _hashlib
ImportError: No module named _hashlib
回答:
python 版本问题,检查系统是 32位还是 64位。
以上是 利用django虚拟环境python2.7 启动django 执行runserver 报错,~~~ 的全部内容, 来源链接: utcz.com/p/937695.html