|
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'
报错无法升级
|
|