python3.8.1 twisted 安装失败记录

1.twisted安装

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple twisted
安装很多东西,有Installing collected packages: zope.interface, constantly, incremental, attrs, six, Automat, idna, hyperlink, PyHamcrest, twisted

安装失败记录

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting twisted
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/0b/95/5fff90cd4093c79759d736e5f7c921c8eb7e5057a70d753cdb4e8e5895d7/Twisted-19.10.0.tar.bz2 (3.1MB)
    100% |████████████████████████████████| 3.1MB 116kB/s
Collecting zope.interface>=4.4.2 (from twisted)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c3/05/bf3130eb799548882ce61b7c3d2dbc5d4d5cc6e821efa8786c5273d56844/zope.interface-4.7.1.tar.gz (151kB)
    100% |████████████████████████████████| 153kB 173kB/s
Collecting constantly>=15.1 (from twisted)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b9/65/48c1909d0c0aeae6c10213340ce682db01b48ea900a7d9fce7a7910ff318/constantly-15.1.0-py2.py3-none-any.whl
Collecting incremental>=16.10.1 (from twisted)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f5/1d/c98a587dc06e107115cf4a58b49de20b19222c83d75335a192052af4c4b7/incremental-17.5.0-py2.py3-none-any.whl
Collecting Automat>=0.3.0 (from twisted)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/dd/83/5f6f3c1a562674d65efc320257bdc0873ec53147835aeef7762fe7585273/Automat-20.2.0-py2.py3-none-any.whl
Collecting hyperlink>=17.1.1 (from twisted)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/7f/91/e916ca10a2de1cb7101a9b24da546fb90ee14629e23160086cf3361c4fb8/hyperlink-19.0.0-py2.py3-none-any.whl
Collecting PyHamcrest>=1.9.0 (from twisted)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/40/16/e54cc65891f01cb62893540f44ffd3e8dab0a22443e1b438f1a9f5574bee/PyHamcrest-2.0.2-py3-none-any.whl (52kB)
    100% |████████████████████████████████| 61kB 217kB/s
Collecting attrs>=17.4.0 (from twisted)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in d:\ideaprojects\tornadodemo\venv\lib\site-packages\setuptools-40.8.0-py3.8.egg (from zope.interface>=4.4.2->twisted) (40.8.0)
Collecting six (from Automat>=0.3.0->twisted)
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl
Collecting idna>=2.5 (from hyperlink>=17.1.1->twisted)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/89/e3/afebe61c546d18fb1709a61bee788254b40e736cff7271c7de5de2dc4128/idna-2.9-py2.py3-none-any.whl (58kB)
    100% |████████████████████████████████| 61kB 529kB/s
Installing collected packages: zope.interface, constantly, incremental, attrs, six, Automat, idna, hyperlink, PyHamcrest, twisted
  Running setup.py install for zope.interface ... done
  Running setup.py install for twisted ... error

te\python3.8\twisted:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.8 ...日志超长。

    running build_ext
    building 'twisted.test.raiser' extension


    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

    ----------------------------------------
Command "d:\ideaProjects\TornadoDemo\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\kenychen\\AppData\\Local\\Temp\\pip-install-t_0t681q\\twisted\\s
etup.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\kenychen\AppData\
Local\Temp\pip-record-dfylixdj\install-record.txt --single-version-externally-managed --compile --install-headers d:\ideaProjects\TornadoDemo\venv\include\site\python3.8\twisted" fa
iled with error code 1 in C:\Users\kenychen\AppData\Local\Temp\pip-install-t_0t681q\twisted\

 

3.提示我的机器环境没有

Microsoft Visual C++ 14.0 is required.

 

 

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值