Python | Add packages to Anaconda environment
Let’s see some methods that can be used to install packages to Anaconda environment.
There are many ways one can add pre-built packages to anaconda environment. So, let’s see how to direct the path in anaconda and install them.
Using pip command :
- Open Anaconda Command prompt as administrator
- Use
cd\to come out of set directory or path. - Run
pip installcommand.
pip install numpy pip install sckit-learn
Using git :
- Download git files
- Clone or download git hub files in some directory.
- Open Anaconda Command prompt as administrator.
- Use
cd C:\Users\...to locate downloaded site. - Then run pip install setup.py.
Using wheel :
- Download wheel package.
- Download binary files or
.whlfile from authentic website. - Open Anaconda Command prompt as administrator.
- Use
cd C:\Users\...to locate downloaded site. - Then run
pip install ___.whl
Using Conda forge Command :
This type of installation will guarantee that package will be downloaded to the system. Because this type of installation resolves environments, package-package conflicts, etc.
- Self Upgrade related packages to the downloading package.
- Open Anaconda Command prompt as administrator.
- Then run
conda install -c conda-forge ____
conda install -c conda-forge opencv
Recommended Posts:
- Set up Opencv with anaconda environment
- Python Virtual Environment | Introduction
- Create virtual environment using venv | Python
- Creating Python Virtual Environment in Windows and Linux
- Python | Merge Python key values to list
- Important differences between Python 2.x and Python 3.x with examples
- Python | Convert list to Python array
- Python | Index of Non-Zero elements in Python list
- Reading Python File-Like Objects from C | Python
- Python | Add Logging to a Python Script
- Python | Sort Python Dictionaries by Key or Value
- Python | Set 4 (Dictionary, Keywords in Python)
- Python | Add Logging to Python Libraries
- Python | Visualizing O(n) using Python
- JavaScript vs Python : Can Python Overtop JavaScript by 2020?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



