问题描述
我正在尝试在 Windows 10 上安装 binance api 并收到此错误:
ggraph
我看到了这个帖子 Pip doesn't install Twisted on Windows。我试过了,还是不行(也尝试安装64位版本和32位版本,我的电脑是64)
然后我从这个站点下载最新版本:https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted 我运行它(双击)并没有发生任何事情,我也像这样在终端中运行并且不起作用:
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'
任何人都知道如何修复它
解决方法
您是否尝试过:
pip install Twisted
或 pip install Twisted --user