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 > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the python package and replace the download source method is what the relevant knowledge, the content is detailed and easy to understand, the operation is simple and fast, with a certain reference value, I believe that everyone after reading this python package and replace the download source method is what the article will have a harvest, let's take a look at it.
1. Load the required package on PyCharm
Take the natural language processing jieba package as an example. When we use it, we are prompted that the package is not installed yet.
At this point, we can place the mouse cursor at the jieba, and then press Alt + Enter on the keyboard to give us a prompt to pack the package.
On the other hand, we can open the Pycharm settings menu and click the green plus sign in the project kernel to add the desired package.
two。 The command line contains the package
We can also use the pip command to install the required packages.
Command: Pip install package name
If you mistakenly say that the version of pip is too low, you need to update pip.
As shown in the figure, we can run the command that updates the pip version from the cmd command line:
Python-m pip install-- upgrade pip
3. Modify download source
If we always report errors in the package and fail to update, the download speed may be very slow, resulting in errors, on the one hand, because of the network environment (school, unit), and on the other hand, because the default download path of the package may be abroad. Slow.
At this point, we can try to use the phone's 4G network to link to the computer to download, and then replace the download source.
This is the end of the article on "what is the method of python packing and changing the download source". Thank you for reading! I believe you all have a certain understanding of the knowledge of "what is the method of python packing and changing the download source". If you want to learn more knowledge, you are welcome to follow the industry information channel.
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.