Pip没有在Windows 10上安装Twisted

2024-10-04 05:32:25 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图在windows 10上安装binance api,但出现以下错误:

ERROR: Command errored out with exit status 1:
 command: 'c:\users\nikho\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\nikho\\AppData\\Local\\Temp\\pip-install-udog8jg5\\twisted_baf4607a0b15400dbdad7c4c4d71a93f\\setup.py'"'"'; __file__='"'"'C:\\Users\\nikho\\AppData\\Local\\Temp\\pip-install-udog8jg5\\twisted_baf4607a0b15400dbdad7c4c4d71a93f\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\nikho\AppData\Local\Temp\pip-record-qxfi2_c7\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\nikho\appdata\local\programs\python\python38\Include\Twisted'

我看到了这个帖子。我试过了,但没用(也试着安装64位版本和32位版本,我的电脑是64位的)

然后我从这个站点下载最后一个版本:https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted 我运行它(双击),但什么也没发生,我也像这样在终端中运行,不工作:

pip install  Twisted-19.2.1-cp37-cp37m-win_amd64.whl

有人知道怎么修吗


Tags: installpip版本localtwistedrecordusersappdata