首先执行 sudo apt-get install libssl-dev
然后执行 pip install pyopenssl --upgrade(如果这步执行出错,就多试几次,或者用sudo pip install pyopenssl --upgrade执行试试)
详细请参考
https://stackoverflow.com/questions/42573038/scrapy-module-object-has-no-attribute-op-single-ecdh-use
首先执行 sudo apt-get install libssl-dev
然后执行 pip install pyopenssl --upgrade(如果这步执行出错,就多试几次,或者用sudo pip install pyopenssl --upgrade执行试试)
详细请参考
https://stackoverflow.com/questions/42573038/scrapy-module-object-has-no-attribute-op-single-ecdh-use