Python Environment Installation Comparison

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.