当前位置:网站首页>What if the package cannot be found

What if the package cannot be found

2022-04-23 15:29:00 Straw hat Luffy

Even in the conda On the use of Tsinghua source and so on , But you will often find that the library you want to install is not in Tsinghua source , Report errors :

PackagesNotFoundError: The following packages are not available from current channels:

For example, we want to install pytorch3d, At this time, you can use the website dedicated to dealing with the third-party library in Tsinghua source , stay conda Of ~/.condarc Add :

pytorch3d: http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud

And then use conda install -c pytorch3d pytorch3d That's all right. , The same is true for other third-party libraries , You can go on your own http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud Is there a website to find , If so, you can modify the installation .

版权声明
本文为[Straw hat Luffy]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231521439729.html