twisted最新版是17.9.0,可以在这里下载https://www.lfd.uci.edu/~gohl...
旧版本的已经下载不了。但是最新版的运行scrapy有问题,所以想退回到17.5.0试一下,下面是所有版本号:
versions: 2.1.0, 9.0.0, 10.0.0, 10.1.0, 10.2.0, 11.0.0, 11.1.0, 12.0.0, 12.1.0, 12.2.0, 12.3.0, 13.0.0, 13.1.0, 13.2.0, 14.0.0, 14.0.1, 14.0.2, 15.0.0, 15.1.0, 15.2.0, 15.2.1, 15.3.0, 15.4.0, 15.5.0, 16.0.0, 16.1.0, 6.1.1, 16.2.0, 16.3.0, 16.3.1, 16.3.2, 16.4.0, 16.4.1, 16.5.0rc1, 16.5.0rc2, 16.5.0, 16.6.0rc1, 16.6.0, 16.7.0rc1, 16.7.0rc2, 17.1.0rc1, 17.1.0, 17.5.0, 17.9.0rc1, 17.9.0)
各位大佬有没有存档的whl文件,能否共享一下?python版本是3.6
下面这种安装方式会出现各种错误,搞了半天不想再搞了:
PS C:\Windows\system32> pip install twisted==17.5.0
Collecting twisted==17.5.0
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/31/bf/7f86a8f8b9778e90d8b2921e9f442a8c8aa33fd2489fc10f236bc8af1749/Twisted-17.5.0.tar.bz2
Requirement already satisfied: zope.interface>=4.0.2 in c:\users\dell\appdata\local\programs\python\python36\lib\site-packages (from twisted==17.5.0)
Requirement already satisfied: constantly>=15.1 in c:\users\dell\appdata\local\programs\python\python36\lib\site-packages (from twisted==17.5.0)
Requirement already satisfied: incremental>=16.10.1 in c:\users\dell\appdata\local\programs\python\python36\lib\site-packages (from twisted==17.5.0)
Requirement already satisfied: Automat>=0.3.0 in c:\users\dell\appdata\local\programs\python\python36\lib\site-packages (from twisted==17.5.0)
Requirement already satisfied: hyperlink>=17.1.1 in c:\users\dell\appdata\local\programs\python\python36\lib\site-packages (from twisted==17.5.0)
Requirement already satisfied: setuptools in c:\users\dell\appdata\local\programs\python\python36\lib\site-packages (from zope.interface>=4.0.2->twisted==17.5.0)
Requirement already satisfied: attrs in c:\users\dell\appdata\local\programs\python\python36\lib\site-packages (from Automat>=0.3.0->twisted==17.5.0)
Requirement already satisfied: six in c:\users\dell\appdata\local\programs\python\python36\lib\site-packages (from Automat>=0.3.0->twisted==17.5.0)
Building wheels for collected packages: twisted
Running setup.py bdist_wheel for twisted ... error
Failed building wheel for twisted
Running setup.py clean for twisted
Failed to build twisted
Installing collected packages: twisted
Running setup.py install for twisted ... error
Exception:
Traceback (most recent call last):
File "c:\users\dell\appdata\local\programs\python\python36\lib\site-packages\pip\compat\__init__.py", line 73, in console_to_str
return s.decode(sys.__stdout__.encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 24: invalid continuation byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\dell\appdata\local\programs\python\python36\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "c:\users\dell\appdata\local\programs\python\python36\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "c:\users\dell\appdata\local\programs\python\python36\lib\site-packages\pip\req\req_set.py", line 784, in install
**kwargs
File "c:\users\dell\appdata\local\programs\python\python36\lib\site-packages\pip\req\req_install.py", line 878, in install
spinner=spinner,
File "c:\users\dell\appdata\local\programs\python\python36\lib\site-packages\pip\utils\__init__.py", line 676, in call_subprocess
line = console_to_str(proc.stdout.readline())
File "c:\users\dell\appdata\local\programs\python\python36\lib\site-packages\pip\compat\__init__.py", line 75, in console_to_str
return s.decode('utf_8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 24: invalid continuation byte
已经安装了wheel的。
其实在安装的时候可以指定版本,或者去pypi官网直接下。