In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article introduces the relevant knowledge of "how to solve the problem of Failed to install package when pycharm downloads the library". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
First, the current situation to see if you are also in this situation:
Normally we download the pygad package by clicking Install package. But when we clicked on the download, there was an unexpected error, as shown below:
Let's click Details to view the details, as shown below:
And I installed the numpy library with pip install, looked at it with pip list, and found that the library already exists:
But there is no numpy library in the default path.
1. Solution: since the matter has come to this, we do not have much bb. We will go directly to the solution:
Click on the show all in the project interpreter in setting and the following interface pops up:
Click on this icon to get the following picture:
Then click the plus sign to add a path:
The path we added ourselves is in the same place as the setuptools-40.8.0.py3.7.egg, so add it according to the location of your computer's pycharm.
And then... Try install package again to see:
This time it has been downloading...
It worked!
Check again at this time, the library we downloaded with pip3 install numpy has also appeared!
So far, the problem has been solved smoothly.
This is the end of the content of "how to solve the problem of Failed to install package when pycharm downloads the library". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.