找回密码
 立即注册

扫一扫,访问微社区

QQ登录

只需一步,快速开始

查看: 2123|回复: 0

[求助] PIP升级不成功

3

主题

4

帖子

4

积分

贫民

积分
4
kaka702 发表于 2019-7-4 10:24:21 | 显示全部楼层 |阅读模式
Exception:
Traceback (most recent call last):
  File "C:\Users\hnlh\AppData\Roaming\Python\Python37\site-packages\pip\_internal\basecommand.py", line 141, in main
    status = self.run(opti**, args)
  File "C:\Users\hnlh\AppData\Roaming\Python\Python37\site-packages\pip\_internal\commands\install.py", line 347, in run
    use_user_site=opti**.use_user_site,
  File "C:\Users\hnlh\AppData\Roaming\Python\Python37\site-packages\pip\_internal\req\__init__.py", line 49, in install_given_reqs
    **kwargs
  File "C:\Users\hnlh\AppData\Roaming\Python\Python37\site-packages\pip\_internal\req\req_install.py", line 941, in install
    use_user_site=use_user_site, pycompile=pycompile,
  File "C:\Users\hnlh\AppData\Roaming\Python\Python37\site-packages\pip\_internal\req\req_install.py", line 526, in move_wheel_files
    warn_script_location=warn_script_location,
  File "C:\Users\hnlh\AppData\Roaming\Python\Python37\site-packages\pip\_internal\wheel.py", line 441, in move_wheel_files
    generated.extend(maker.make(spec))
  File "C:\Users\hnlh\AppData\Roaming\Python\Python37\site-packages\pip\_vendor\distlib\scripts.py", line 403, in make
    self._make_script(entry, filenames, opti**=opti**)
  File "C:\Users\hnlh\AppData\Roaming\Python\Python37\site-packages\pip\_vendor\distlib\scripts.py", line 307, in _make_script
    self._write_script(scriptnames, shebang, script, filenames, ext)
  File "C:\Users\hnlh\AppData\Roaming\Python\Python37\site-packages\pip\_vendor\distlib\scripts.py", line 243, in _write_script
    launcher = self._get_launcher('t')
  File "C:\Users\hnlh\AppData\Roaming\Python\Python37\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'

报错无法升级

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表