标签:find entry ack launcher tee write location pts command
ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\admin\AppData\Roaming\Python\Python37\site-packages\pip\_internal\cli\base_command.py", line 178, in main
status = self.run(options, args)
File "C:\Users\admin\AppData\Roaming\Python\Python37\site-packages\pip\_internal\commands\install.py", line 414, in run
use_user_site=options.use_user_site,
File "C:\Users\admin\AppData\Roaming\Python\Python37\site-packages\pip\_internal\req\__init__.py", line 58, in install_given_reqs
**kwargs
File "C:\Users\admin\AppData\Roaming\Python\Python37\site-packages\pip\_internal\req\req_install.py", line 920, in install
use_user_site=use_user_site, pycompile=pycompile,
File "C:\Users\admin\AppData\Roaming\Python\Python37\site-packages\pip\_internal\req\req_install.py", line 448, in move_wheel_files
warn_script_location=warn_script_location,
File "C:\Users\admin\AppData\Roaming\Python\Python37\site-packages\pip\_internal\wheel.py", line 544, in move_wheel_files
generated.extend(maker.make(spec))
File "C:\Users\admin\AppData\Roaming\Python\Python37\site-packages\pip\_vendor\distlib\scripts.py", line 405, in make
self._make_script(entry, filenames, options=options)
File "C:\Users\admin\AppData\Roaming\Python\Python37\site-packages\pip\_vendor\distlib\scripts.py", line 309, in _make_script
self._write_script(scriptnames, shebang, script, filenames, ext)
File "C:\Users\admin\AppData\Roaming\Python\Python37\site-packages\pip\_vendor\distlib\scripts.py", line 245, in _write_script
launcher = self._get_launcher(‘t‘)
File "C:\Users\admin\AppData\Roaming\Python\Python37\site-packages\pip\_vendor\distlib\scripts.py", line 384, in _get_launcher
result = finder(distlib_package).find(name).bytes
AttributeError: ‘NoneType‘ object has no attribute ‘bytes‘
WARNING: You are using pip version 19.1.1, however version 19.2.3 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip‘ command.
用easy_install -U pip命令就可以正常升级了
标签:find entry ack launcher tee write location pts command
原文地址:https://www.cnblogs.com/godlove/p/11468630.html