安装scrapy提示
Couldnotfind a version that satisfies the requirement twisted(fromversions:)Nomatching distribution foundfortwisted
各种折腾....
最后发现是因为系统centos,当时将自带的python2.6 升级到2.7引起的问题,升级之后一切都好,pip安装其他包都没毛病,就是安装twisted有问题
解决办法:
sudo yum install bzip2-devel,
然后在python源码目录重新configure make make install
ubuntu的朋友sudo apt-get install libbz2-dev
网友评论