You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Last but not the least, you may consider to use virtualenv to create a sandbox to switch between Python 2.6 and Python 2.7:
# Install virtualenv for Python 2.7 and create a sandbox called my27project:
sudo -E /usr/local/bin/pip2.7 install virtualenv
virtualenv mypy27
# Check the system Python interpreter version:
python --version
# This will show Python 2.6.6
# Activate the my27project sandbox and check the version of the default Python interpreter in it:
source mypy27/bin/activate
python --version
# This will show Python 2.7.11
deactivate
In CentOS 7
If you are behind firewall and find easy_install not working for you, you might try get-pip.py:
In OSX EI Capitan
There are quite a few limitations for OpenSSL, cryptography, and pip in OSX EI Capitan. Here is the one-key install command to install
scrapy
via pip:If you already install higher version of cryptography, please run
sudo -H pip uninstall cryptography
, and reinstall cryptography==1.0.2.pypa/pip#3165
pyca/cryptography#2350
pyca/cryptography#2468
In CentOS 6
Note that Python 2.6 is default python version and required in CentOS 6 for yum.
Install Python 2.7 first: http://toomuchdata.com/2014/02/16/how-to-install-python-on-centos/
Alternatively, if you are behind firewall and find
easy_install
not working for you, you might try get-pip.py:Then install a few library dependencies for cryptography and lxml:
Then we are ready to install Scrapy behind firewall:
OR
Last but not the least, you may consider to use
virtualenv
to create a sandbox to switch between Python 2.6 and Python 2.7:In CentOS 7
If you are behind firewall and find
easy_install
not working for you, you might try get-pip.py:Note: all the commands below should be executed under
root
user.We need to install a few library dependencies for cryptography and lxml:
Everything is ready! Install incremental and Scrapy:
http://stackoverflow.com/a/22210069
http://stackoverflow.com/a/34839358
The text was updated successfully, but these errors were encountered: