@DTPlayer

PIP ошибка python 3.8, как решить?

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip

Выдаёт ошибку
Collecting https://github.com/pyinstaller/pyinstaller/archive/develop.zip
  Using cached https://github.com/pyinstaller/pyinstaller/archive/develop.zip
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\users\lastwek\appdata\local\programs\python\python38\python.exe' 'c:\users\lastwek\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\lastwek\AppData\Local\Temp\pip-build-env-quu_ryru\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel
       cwd: None
  Complete output (31 lines):
  Traceback (most recent call last):
    File "c:\users\lastwek\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main
      return _run_code(code, main_globals, None,
    File "c:\users\lastwek\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code
      exec(code, run_globals)
    File "c:\users\lastwek\appdata\local\programs\python\python38\lib\site-packages\pip\__main__.py", line 24, in <module>
      sys.exit(_main())
    File "c:\users\lastwek\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\cli\main.py", line 71, in main
      command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
    File "c:\users\lastwek\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\commands\__init__.py", line 96, in create_command
      module = importlib.import_module(module_path)
    File "c:\users\lastwek\appdata\local\programs\python\python38\lib\importlib\__init__.py", line 127, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
    File "<frozen importlib._bootstrap>", line 991, in _find_and_load
    File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 783, in exec_module
    File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
    File "c:\users\lastwek\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\commands\install.py", line 15, in <module>
      from pip._internal.cli.req_command import RequirementCommand, with_cleanup
    File "c:\users\lastwek\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\cli\req_command.py", line 21, in <module>
      from pip._internal.req.constructors import (
    File "c:\users\lastwek\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\req\__init__.py", line 8, in <module>
      from .req_install import InstallRequirement
    File "c:\users\lastwek\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\req\req_install.py", line 8, in <module>
      import uuid
    File "c:\users\lastwek\appdata\local\programs\python\python38\lib\site-packages\uuid.py", line 138
      if not 0 <= time_low < 1<<32L:
                                  ^
  SyntaxError: invalid syntax
  ----------------------------------------
WARNING: Discarding https://github.com/pyinstaller/pyinstaller/archive/develop.zip. Command errored out with exit status 1: 'c:\users\lastwek\appdata\local\programs\python\python38\python.exe' 'c:\users\lastwek\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\lastwek\AppData\Local\Temp\pip-build-env-quu_ryru\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output.
ERROR: Command errored out with exit status 1: 'c:\users\lastwek\appdata\local\programs\python\python38\python.exe' 'c:\users\lastwek\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\lastwek\AppData\Local\Temp\pip-build-env-quu_ryru\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output.
  • Вопрос задан
  • 132 просмотра
Пригласить эксперта
Ответы на вопрос 2
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы