Python 2.7 安装twisted
1.安装twisted
下载地址:https://pypi.python.org/simple/twisted
找对应版本和对应系统版本,下载exe安装即可
2.安装zope.interface
下地址:https://pypi.python.org/simple/zope.interface/
一样是找对应版本和对应系统版本,下载exe安装即可
两个安装成功之后,在C:\Python27\Lib\site-packages目录下看到对应的文件夹
3.验证结果

没报错完美运行
注:我在安装完成之后,使用PyCharm导入twisted模块一直报错,console窗口运行正常。
解决办法如下:
大概意思就PyCharm重新安装编译一次所有模块,再到PyCharm使用import 导入 没报错正常运行


相关推荐
huavhuahua 2020-11-20
weiiron 2020-11-16
cakecc00 2020-11-15
千锋 2020-11-15
JakobHu 2020-11-14
guangcheng 2020-11-13
xirongxudlut 2020-11-10
solarLan 2020-11-09
pythonxuexi 2020-11-08
文山羊 2020-11-07
susmote 2020-11-07
wuShiJingZuo 2020-11-05
Pythonjeff远 2020-11-06
jacktangj 2020-11-04
lousir 2020-11-04
YENCSDN 2020-11-17
lsjweiyi 2020-11-17
houmenghu 2020-11-17
Erick 2020-11-17