Python Extension Packages for Windows去上面地址下載你對應版本cp35的whl,注意,雖然你系統是64位,但要看清你python版本是32還是64位的,再下載對應的win32或者amd64文件
安裝wheel
pip install wheel
進入.whl所在的文件夾,執行命令即可完成安裝
pip install 帶後綴的完整文件名
我本機的測試結果
d:&>python
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (In
tel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
&>&>&> import twisted
&>&>&> twisted.__version__
"16.5.0"
&>&>&>
樓上給出的解決方法是可以的。 @XP LEE
我因為要安裝scrapy,需要twisted依賴。但是直接pip3 install 需要在本地進行編譯,我的studio 2015各種報錯。看網上的解決方法都是下載MinGW來編譯。下載了半天MinGW老是下載不下來。在Links for twisted上也沒有找到適用於python 3.5版本的Twisted。
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
&>&>&> import twisted
&>&>&> twisted.__version__
"16.6.0"