Using PIP to manage Python packages

Source: Internet
Author: User
Tags ovirt

Using PIP to manage Python packages

2015/10/10 Time 20:38

First, install the PIP "Linux" Yum install python-pip "Win" Install Python, the default has been installed PIP II, using the PIP installation package "Linux" [[email protected]  ~]# pip install Django==1.6.0                collecting django==1.6.0/usr/lib/python2.6/site-packages/pip/_vendor/ Requests/packages/urllib3/util/ssl_.py:90: insecureplatformwarning: a true sslcontext  object is not available. this prevents urllib3 from configuring  SSL appropriately and may cause certain SSL connections to  fail. for more information, see https://urllib3.readthedocs.org/en/latest/ security.html#insecureplatformwarning.  insecureplatformwarning  downloading  django-1.6-py2.py3-none-any.whl  (6.7MB)     100% | ████████████████████████████████| 6.7mb 74kb/s installing collected packages: djangosuccessfully installed django-1.6[[email protected]  ~]# python -c  "Import django;print (Django.get_version ())" 1.6 "Win" D:\apps\Python34\ Scripts>pip install djangoyou are using pip version 6.0.8, however  version 7.1.0 is available. you should consider upgrading via the  ' Pip install --upgrade pip '  command. collecting django  downloading django-1.8.3-py2.py3-none-any.whl  (6.2MB)      100% |################################| 6.2MB 75kB/sInstalling collected  packages: djangod:\apps\python34>python -c  "Import django;print (Django.get_version ())" 1.8.3successfully installed django-1.8.3 Third, other usage specify the version number to install:pip install django==1.6.0  Uninstall: Pip install django Install the specified package from a text file: PIP INSTALL -R&NBsp;requirements.txtpip freeze >requirements.txt. version issue under Windows installation  ovirt-engine-sdk-python   encountered an exception: # pip install ovirt-engine-sdk-pythonplease specify --curl-dir=/path/to/ Built/libcurlpycurl exception, the official website is Win32 version, after installation, subsequent use may be error:pycurl dll load failed: %1  is not valid  Win32  applications. The AMD64 version can be found here, and then manually installed with PIP: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pycurlZYXW, reference 1, django  environment Build/HTTP Www.ziqiangxuetang.com/django/django-install.html


Using PIP to manage Python packages

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.