banner



How To Install Libraries In Anaconda

  • Selected Reading
  • UPSC IAS Exams Notes
  • Developer's Best Practices
  • Questions and Answers
  • Effective Resume Writing
  • HR Interview Questions
  • Figurer Glossary
  • Who is Who

Add together packages to Anaconda environs in Python


There are multiple means past which we can add packages to our existing anaconda environment.

Method ane − One common approach is to use the "Anaconda Navigator" to add packages to our anaconda environment. Once "Ananconda Navigator" is opened, habitation page volition look something like −

Go to Environments tab just below the Home tab and from there we tin can bank check what all packages are installed and what is not.

Information technology is very easy to install any package through anaconda navigator, simply search the required package, select bundle and click on use to install it. Let's suppose tensorflow packages are not installed in your figurer, I can simply search the required package(like tensorflow), select it and click on apply to install information technology.

Method 2 − Another fashion of installing packages is past the apply of terminal or an Anaconda Prompt −

conda install opencv

Above control will install OpenCV package into your current surroundings.

To install specific a specific version of a opencv package −

conda install opencv-3.four.2

We can install multiple packages at once, such as OpenCV and tensorflow −

conda install opencv tensorflow

AnnotationIt is recommended to install all required packages at once and so that all of the dependencies are installed at once.

To install a specific package such as opencv into your existing environment "myenv"(in case yous take a virtual environment to install project specific packages).

conda install –name myenv opencv

Method three − If the package is non available in our conda environment or through anaconda navigator, nosotros tin notice and install the packet with another package manager like pip.

We can install pip in our existing conda environment by simply giving the command −

conda install pip

And your screen will exist shown an output something like −

Now if you lot want to install whatsoever detail parcel, through pip in conda environs, we can do it like −

Above nosotros have installed opencv package through pip in conda environment.

Viewing a list of installed packages

We tin utilize the anaconda prompt, to listing all of the packages in the agile environment −

conda listing

raja

Published on xix-Feb-2019 xi:02:x

  • Related Questions & Answers
  • Packages in Python
  • How to install pandas using Anaconda?
  • How to install Selenium package in Anaconda?
  • Python Virtual Environment
  • Python Surround Variables
  • How to create python namespace packages in Python iii?
  • CGI Environment Variables in Python
  • What are the packages in Python?
  • Capacity To Ship Packages Within D Days in Python
  • How to create a virtual environment in Python?
  • How to develop programs with Python Namespaced Packages?
  • Packages in Java
  • Packages in C#
  • How to organize Python classes in modules and/or packages
  • What is PYTHONPATH surround variable in Python?

Source: https://www.tutorialspoint.com/add-packages-to-anaconda-environment-in-python

Posted by: vegaherity.blogspot.com

0 Response to "How To Install Libraries In Anaconda"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel