pycharm安装了pymysqldb但导入失败
发布网友
发布时间:2022-04-08 01:04
我来回答
共1个回答
热心网友
时间:2022-04-08 02:33
刚好安装了pycharm,打算用这个ide来开发python,所以新建了一个django的工程,但是提示django的第三方库安装失败。真坑爹啊。 Exception:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip-1.5.6-py2.7.egg\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "C:\Python27\lib\site-packages\pip-1.5.6-py2.7.egg\pip\commands\install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "C:\Python27\lib\site-packages\pip-1.5.6-py2.7.egg\pip\req.py", line 1197, in prepare_files
do_download,
File "C:\Python27\lib\site-packages\pip-1.5.6-py2.7.egg\pip\req.py", line 1375, in unpack_url
self.session,