An unknown college student, known as a dish dog by people in the world
original author: Jacky Li
Email : [email protected]Time of completion: 2023.3.24
Last edited: 2023.3.24Guide
Help in the difficult problem of environment configuration pycocotools configuration in artificial intelligence learning, and many downloads of related expansion libraries on Microsoft VS can use this method!
Directory
1: Relevant popular content
Two: Solution Summary
①The most commonly used solution on the Internet
② The second solution on the Internet
③A good way to help bloggers solve problems
1) We can supplement the plug-in on the official website of Visual Studio Subscriptions, which really solves the problem effectively.
2) Select the download column in the title bar, and type in the download search box: build tools
3) Next, we will enter the third part
4) The next step is to complete the step!
5) Complete the steps
The author has something to say
One: Relevant popular content
Could not build wheels for pycocotools, which is required to install pyproject. toml-based projects
It means that we cannot download pycocotools due to the lack of some related dependent libraries.
Two: Solution Summary
①The most commonly used solution on the Internet
conda install git conda install git + https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
But according to the blogger’s own experiments, this method usually reports: Timeout , you know, it means GG
②Second solution online
pip install pycocotools-windows or conda install pycocotools-windows
Of course, after the blogger tried it, he found that pycocotools-windows was indeed downloaded, but couldn’t solve the demand, and it still didn’t work, so the blogger adopted the third method.
Since the blogger is a dish dog, the blogger did not study the difference between pycocotools-windows and pycocotools in depth, please forgive me!
③A good way to help bloggers solve problems
1) We can supplement the plug-in on the official website of Visual Studio Subscriptions, indeed Solve problems effectively.
The link is as follows:Home – Visual Studio Subscriptions Portalhttps://my.visualstudio.com/Benefits?mkt=zh-cn
2) Select the download column in the title bar, and type in the download search box: build tools
As shown in the picture:
What we want to download isVisual C + + Build Tools for Visual Studio 2015 with Update 3 version, because Microsoft Visual Studio’s toolkit is constantly updated, after typing and The toolkit we need will not be generated, so at this time, the blogger has a little trick, Enter directly, and turn the transferred page to this thing, as shown in the picture:
3) Next, we will enter the third part
It is very important, very important, very important to replace the OTH in the blue frame with DVD! ! !
Next, download directly. After the download is complete, it will be a CD-ROM mapping file with the end of ISO
As shown in the picture:
4) Now it’s done!
Double-click to run the CD-ROM mapping file, and ignore the warning, as shown in the figure:
Click on the exe file, install it all the way, and then you can complete your own work preparation for the file!
After the installation is complete, you can install pycocotools, as shown in the figure after the installation is complete:
I don’t know why this start page can’t take a screenshot, it’s taken by a mobile phone, it’s more confusing, (window10)
5) Complete steps
Enter this command to complete the download of pycocotools
pip install pycocotools
So now you’re done!
The author has something to say
If you feel that what the blogger said is useful to you, please click to support it, and will continue to update such issues…