请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

pip版本不够 按提示升级命令没用 (一直重复提示版本不够) 我用的是python2.7.14

正在回答 回答被采纳积分+3

2回答

提问者 慕粉3712741 2018-04-15 10:05:22

已解决。 由于路径中文  问题

0 回复 有任何疑惑可以回复我~
  • bobby #1
    好的,
    回复 有任何疑惑可以回复我~ 2018-04-16 10:56:39
提问者 慕粉3712741 2018-04-14 17:19:52

我使用他那个提示 升级 命令 循环出现版本不对 。也尝试过pip uninstall 删除 然后 easy再安装,结果出现的好像是编码问题

C:\Users\张学文>pip install virtualenv
Collecting virtualenv
Exception:
Traceback (most recent call last):
  File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\basecommand.py", line 228, in main
    status = self.run(options, args)
  File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\commands\install.py", line 291, in run
    resolver.resolve(requirement_set)
  File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\resolve.py", line 103, in resolve
    self._resolve_one(requirement_set, req)
  File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\resolve.py", line 257, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\resolve.py", line 210, in _get_abstract_dist_for
    self.require_hashes
  File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\operations\prepare.py", line 302, in prepare_linked_requirement
    progress_bar=self.progress_bar
  File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\download.py", line 837, in unpack_url
    progress_bar=progress_bar
  File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\download.py", line 674, in unpack_http_url
    progress_bar)
  File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\download.py", line 896, in _download_http_url
    file_path = os.path.join(temp_dir, filename)
  File "e:\python27\lib\ntpath.py", line 85, in join
    result_path = result_path + p_path
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd5 in position 7: ordinal not in range(128)

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信