I have installed Scrapy,and import it in python, every things look fine. But it cause error when i try a example in http://scrapy-chs.readthedocs.io/zh_CN/0.24/intro/tutoria
For some mac os x user, this might not solve the problem since the older version of pyOpenSSL never get uninstall. The way to solve it is to download the gz file from PyPI a link. Then unzip the compressed file. Navigate into it and then run the following command
sudo python setup.py install
Then pyOpenSSL is correctly updated.
You are not activating the scrapy environment
$source activate ScrapyEnvironment
If you are using the newest version of Twisted. You can try downgrade Twisted:
pip install Twisted==16.4.1
This is the version problem and use the code to update:
pip install --upgrade --ignore-installed pyopenssl
you need upgrade pyopenssl
sudo pip install pyopenssl --user --upgrade