Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Learn how AI installs the environment

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article is about learning how to install the environment for AI. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The first is the installation environment. Since python 3.6and Pycharm have been installed in previous work, this step is basically skipped.

And then I'm going to learn python 3.6.I 've learned it just before, skip it.

Then I had the first trouble when I installed numpy and pandas and learned about their functions

Installation failed, and said that parsing url error, this is also a local address port, because I have been open vpn, so I suspect it may be related to vpn, but it should not be wrong ah, but I still turn off vpn to try, the result is still not good. Emmmm . Can only look at the source code, python is this good, easy to consult.

Depending on the situation, it is true that the format "127.0.0.1 63079" is not supported, so there will be an error, but why is the url "127.0.0.1 63079"? Then I continued to look and found that

So url should have changed at the time of merge_environment_settings, and followed it to take a look at it. Then I had an idea. I searched "proxy" at the beginning and found a "proxy server setting". I clicked in and found the source of evil:

As soon as this is set off, it will be installed. Speaking of which, I think there is something wrong with the implementation of the above code, because there was actually a prepare operation before, but the proxy situation was not taken into account. And parsing does not support "127." This format. I feel that if we put the logic of considering agency in the first place, although this situation will also report an error, at least the logic looks better.

Thank you for reading! This is the end of this article on "learning how to install the environment for AI". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report