1,linux:
# # You need to install the PYTHON2 environment before installing PYTHON-PIP
Yum Install Python-pip
When you install PYTHON-PIP with the CENTOS7 Package Manager, Yum will report an error:
No Package Python-pip available.
Error:nothing to do
Says no PYTHON-PIP package can be installed.
This is because of distributions like CentOS, whose sources sometimes lag behind content updates, or sometimes the source of some extensions doesn't.
So when using Yum to search for PYTHON-PIP, it would say that the package was not found. Therefore, to be able to install these packages, you need to install the extension source Epel first.
EPEL (Http://fedoraproject.org/wiki/EPEL) is a project built by the Fedora community to deliver high-quality software packages for RHEL and derivative distributions such as CentOS, scientific Linux, and more.
First install the Epel extension Source:
sudo yum-y install Epel-release
Then install Python-pip
sudo yum-y install Python-pip
Don't forget to erase the cache after installation.
sudo yum clean all
# # Install Socketio_client Package
Pip Install Socketio_client
Linux seems to bring its own request.
Window
1, install pycharm. Download the free version of the website, install the method to see Baidu
2. Install the Python version of Windows. Add Python environment variables after installation
3, refer to http://www.cnblogs.com/yuanzm/p/4089856.html installation pip>
Download Pip-8.1.2.tar.gz ( md5, pgp).
After the decompression, CD to the extracted directory, through the python setup.py install PIP.
Environment variables to add pip after installation
4, then install requests and socket.io_client via PIP.
PIP Install requests
Pip Install Socketio_client
Python Environment Installation Comparison