In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article focuses on "how to install Python pip". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "how to install Python's pip".
Install pip
So, what if, unfortunately, you don't have pip in your Python version? There are many solutions!
Install using easy_install: various go to the directory of the easy_install script and run easy_inatall pip
Install using get-pip.py: download the get-pip.py script curl https://bootstrap.pypa.io/get-pip.py-o get-pip.py at url below and run: python get-pip.py this script installs both the setuptools and wheel tools.
Install pip under linux using the package management tool: for example, under ubuntu: sudo apt-get install python-pip. Fedora system: sudo yum install python-pip
Install pip under windows: run easy_install pip under C:\ python27\ scirpts to install.
The newly installed pip may need to upgrade itself first: in Linux or masOS: pip install-U pip in windows: python-m pip install-U pip
Basic use of pip
On the command line, enter pip, and enter to see the help instructions:
1. Once again, before using pip, make sure that the corresponding Python interpreter must be the one you want!
Take installing the pillow module as an example. Enter pip install pillow, and the installation process is shown below:
two。 Specify version installation
Install a specific version of package by using =, > =,
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.