windows 10 pip升级问题求助
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了windows 10 pip升级问题求助,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2283字,纯文字阅读大概需要4分钟。
内容图文
windows 10 pip升级问题求助
C:\Users\zh1>python -m pip install --upgrade pip
Collecting pip
Using cached https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.3-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 18.1
Uninstalling pip-18.1:
Successfully uninstalled pip-18.1
Rolling back uninstall of pip
Exception:
Traceback (most recent call last):
File "C:\Users\zh1\AppData\Roaming\Python\Python36\site-packages\pip\_internal\cli\base_command.py", line 143, in main
status = self.run(options, args)
File "C:\Users\zh1\AppData\Roaming\Python\Python36\site-packages\pip\_internal\commands\install.py", line 366, in run
use_user_site=options.use_user_site,
File "C:\Users\zh1\AppData\Roaming\Python\Python36\site-packages\pip\_internal\req\__init__.py", line 49, in install_given_reqs
**kwargs
File "C:\Users\zh1\AppData\Roaming\Python\Python36\site-packages\pip\_internal\req\req_install.py", line 760, in install
use_user_site=use_user_site, pycompile=pycompile,
File "C:\Users\zh1\AppData\Roaming\Python\Python36\site-packages\pip\_internal\req\req_install.py", line 382, in move_wheel_files
warn_script_location=warn_script_location,
File "C:\Users\zh1\AppData\Roaming\Python\Python36\site-packages\pip\_internal\wheel.py", line 441, in move_wheel_files
generated.extend(maker.make(spec))
File "C:\Users\zh1\AppData\Roaming\Python\Python36\site-packages\pip\_vendor\distlib\scripts.py", line 403, in make
self._make_script(entry, filenames, options=options)
File "C:\Users\zh1\AppData\Roaming\Python\Python36\site-packages\pip\_vendor\distlib\scripts.py", line 307, in _make_script
self._write_script(scriptnames, shebang, script, filenames, ext)
File "C:\Users\zh1\AppData\Roaming\Python\Python36\site-packages\pip\_vendor\distlib\scripts.py", line 243, in _write_script
launcher = self._get_launcher('t')
File "C:\Users\zh1\AppData\Roaming\Python\Python36\site-packages\pip\_vendor\distlib\scripts.py", line 382, in _get_launcher
result = finder(distlib_package).find(name).bytes
AttributeError: 'NoneType' object has no attribute 'bytes'
You are using pip version 18.1, however version 19.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
求帮忙解决~
内容总结
以上是互联网集市为您收集整理的windows 10 pip升级问题求助全部内容,希望文章能够帮你解决windows 10 pip升级问题求助所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。