Как устранить ошибку при установке setuptools python в windows - PullRequest
0 голосов
/ 19 сентября 2019

Может кто-нибудь помочь мне с проблемой, с которой я борюсь пару часов, я пытаюсь установить "flask-jwt-extended", используя

pip install flask-jwt-extended

, но получаю следующую ошибку

ERROR: Command errored out with exit status 1:
     command: 'c:\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-fg_ccsgv\\flask-jwt-extended\\setup.py'"'"'; __file__='"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-fg_ccsgv\\flask-jwt-extended\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
         cwd: C:\Users\User\AppData\Local\Temp\pip-install-fg_ccsgv\flask-jwt-extended\
    Complete output (3 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'setuptools'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Там написано, что я должен установить setuptools, но я уже установил его.

Requirement already satisfied: setuptools in c:\lib\site-packages (41.2.0)

Может кто-нибудь помочь мне с этим?Я не знаю, что это может быть

Спасибо!

...