Beginners have just begun to learn python, now learning "stupid methodology python" ing~There are several packages that need to be installed in learning Exercise 46 o'clock: Pip, Nose, virtualenv, distribute! Here's how to install Python packages
Installation, update, and uninstallation of pip modules and usage (detailed description) and pip Module
In the course of Python learning, you will certainly encounter many installation modules, you can use easy_install to install, but easy_install
This article mainly introduces how to install third-party libraries of non-PyPI official website by pip in Python. The latest version of pip (version 1.5 or later) is out of security considerations, pip does not allow installation of non-PyPI URLs.
When I first started learning Python, I used easy_install, setuptools, and pip and distribute in reading the document and other blogs to introduce the installation packages. What is the relationship between these tools, you can see the figure below.
CentOS 7 python version update
Original version 2.7.5 updated version 2.7.13Note: Because Linux comes with Python, the system has a certain dependence on it, so it is recommended to keep the original version; the Yum function problem is often
Linux comes with the download tool wget download as follows:
wget http://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz
Download completed to download directory, unzip
tar -zxvf Python-2.7.9.
The PIP is a Python package management tool, with a lot of Python open source kits in the PIP library that can be downloaded and installed directly into the Python module while you are using it, as described in the CentOS how to install the PIP in
Python path-pip installation, python path-pip
Pip is similar to yum in RedHat, and it is very convenient to install Python packages.
Pip installation method:
1. installation environment: ubuntu-14.04.2
sudo apt-get install python-pip
First install PythonI have installed two versions:Python-2.7.10.tgzPython-3.5.1.tgzFirst look at the Python version that comes with the system:1 [email protected] src]# python-v 2 Python 2.6.6To install the Python2.7 version:[Email protected] src]#
first one python script: [email protected] ~]# cat helloworld.pyPrint ("Hello World")[email protected] ~]# python helloworld.pyHello WorldInstall python3 and ipython Overall environment, very troublesome, not pay attention will often error,
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.