Pip ValueError:源代码字符串不能包含空字节

时间:2020-09-29 18:03:45

标签: python python-3.x pip

我无法使用pip命令,但python安装正确。

Traceback (most recent call last):
  File "c:\users\personal\appdata\local\programs\python\python38-32\lib\runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\personal\appdata\local\programs\python\python38-32\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\PERSONAL\AppData\Local\Programs\Python\Python38-32\Scripts\pip3.exe\__main__.py", line 5, in <module>
  File "c:\users\personal\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\__init__.py", line 19, in <module>
    from pip._vendor.urllib3.exceptions import DependencyWarning
  File "c:\users\personal\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\urllib3\__init__.py", line 7, in <module>
    from .connectionpool import (
  File "c:\users\personal\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\urllib3\connectionpool.py", line 30, in <module>
    from .connection import (
  File "c:\users\personal\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\urllib3\connection.py", line 39, in <module>
    from .util.ssl_ import (
ValueError: source code string cannot contain null bytes```

0 个答案:

没有答案