How do I download a package from public repo to conda?

Asked 2 years ago

Sometimes packages are not available using conda install. In addition, we can install the packages using GitHub repo.

Sergio Calhoun

Friday, September 02, 2022

All you need to do is install git and pip in your conda environment. Then you can use the pip command to install your package from the github repository.

conda install git pip

pip install git+git://<link of the GitHub repository>
You can install a normal package or module by this command.
Conda install <module>
After installing you are good to go and you can import the module by.
import <module>





Write an answer...

Cancel

Please follow our  Community Guidelines

Can't find what you're looking for?