当我试图pip安装一些包时,就会发生这种情况。在Exception:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "C:\Python27\lib\site-packages\pip\commands\install.py", line 236, in run
session = self._build_session(options)
File "C:\Python27\lib\site-packages\pip\basecommand.py", line 52, in _build_session
session = PipSession()
File "C:\Python27\lib\site-packages\pip\download.py", line 216, in __init__
super(PipSession, self).__init__(*args, **kwargs)
File "C:\Python27\lib\site-packages\pip\_vendor\requests\sessions.py", line 273, in __init__
self.headers = default_headers()
File "C:\Python27\lib\site-packages\pip\_vendor\requests\utils.py", line 555, in default_headers
'User-Agent': default_user_agent(),
File "C:\Python27\lib\site-packages\pip\_vendor\requests\utils.py", line 524, in default_user_agent
_implementation = platform.python_implementation()
File "C:\Python27\Lib\platform.py", line 1498, in python_implementation
return _sys_version()[0]
File "C:\Python27\Lib\platform.py", line 1463, in _sys_version
repr(sys_version))
ValueError: failed to parse CPython sys.version: '2.7.6 |CUSTOM| (default, Jun 4 2014, 16:30:34) [MSC v.1500 64 bit (AMD64)]'
Storing debug log for failure in C:\Users\kyzcr_000\pip\pip.log
我曾经用热情的树冠,我在其他地方读到这可能会引起问题。有什么办法解决这个问题吗?在
我把我的翻译程序换成了Python,现在似乎也没有加载任何模块。我完全糊涂了。我不能使用我已经安装的任何模块,也不能安装任何新的模块。在
虽然有些东西安装得很好。在
^{pr2}$