无法在pycharm Windows 10上安装python二进制文件

无法在pycharm Windows 10上安装python二进制文件,python,python-3.x,pycharm,failed-installation,binance,Python,Python 3.x,Pycharm,Failed Installation,Binance,Twisted==17.9.0在Python 3.7.3上的安装失败。也无法安装加密==2.1.4 想在Pycharm上安装必要的python二进制模块吗 我尝试过使用python的anaconda版本,但仍然会出现加密安装错误 C:\Users\Laptop\PycharmProjects\Python Trading2\venv\Scripts>pip install Twisted==17.9.0 Collecting hyperlink>=17.1.1 (from Twis

Twisted==17.9.0在Python 3.7.3上的安装失败。也无法安装加密==2.1.4

想在Pycharm上安装必要的python二进制模块吗

我尝试过使用python的anaconda版本,但仍然会出现加密安装错误

C:\Users\Laptop\PycharmProjects\Python Trading2\venv\Scripts>pip install Twisted==17.9.0

Collecting hyperlink>=17.1.1 (from Twisted==17.9.0)
  Using cached https://files.pythonhosted.org/packages/7f/91/e916ca10a2de1cb7101a9b24da546fb90ee14629e23160086cf3361c4fb8/hyperlink-19.0.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in c:\program files\python37\lib\site-packages (from zope.interface>=4.0.2->Twisted==17.9.0) (39.0.1)
Collecting attrs>=16.1.0 (from Automat>=0.3.0->Twisted==17.9.0)
  Using cached https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
Requirement already satisfied: six in c:\program files\python37\lib\site-packages (from Automat>=0.3.0->Twisted==17.9.0) (1.12.0)
Requirement already satisfied: idna>=2.5 in c:\program files\python37\lib\site-packages (from hyperlink>=17.1.1->Twisted==17.9.0) (2.8)
Installing collected packages: zope.interface, constantly, incremental, attrs, Automat, hyperlink, Twisted
  Running setup.py install for Twisted ... error
    ERROR: Complete output from command 'c:\program files\python37\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\Laptop\\AppData\\Local\\Temp\\pip-install-x06wgdqo\\Twisted\\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\Laptop\AppData\Local\Temp\pip-record-jhd2kvhg\install-record.txt' --single-version-externally-managed --compile:
    ERROR: running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.7
    creating build\lib.win-amd64-3.7\twisted
    copying src\twisted\copyright.py -> build\lib.win-amd64-3.7\twisted
    copying src\twisted\plugin.py -> build\lib.win-amd64-3.7\twisted
    copying src

今天我遇到了同样的问题,我尝试了一切。然后一切都有了意义

  • 安装VSC生成工具:

  • 下载(如果出现.whl错误)(文件名“Twisted-20.3.0-cp39-cp39-win_amd64.whl”)。使用CMD location/filename安装它

  • 通过cmd安装:

    pip Install Scrapy