madhavt
madhavt

Reputation: 79

How do I go about installing packages into Anaconda?

I've been looking everywhere and cannot find a robust explanation.

I'm brand new to Python, coming from R. I had no issues installing packages there but I'm finding it to be rather confusing in Python.

So, I'm using Anaconda and I want to install this package into Python. It mentions using the conda install -c https://conda.anaconda.org/amueller wordcloud command but I have no idea where I'm supposed to run it.

Any advice would be much appreciated.

Upvotes: 0

Views: 562

Answers (3)

Wasi Ahmad
Wasi Ahmad

Reputation: 37761

Run it from command line. You can directly install using pip as mentioned in the link. Don't forget to install the pre-requisite packages.

pip install wordcloud

If you are using windows, make sure your environmental path is set so that you can use the pip command directly from windows command prompt. Usually the environmental variable is updated when you install Anaconda distribution.

Conda is just another command which you can use to install packages. Procedure is exactly the same.

Upvotes: 1

George
George

Reputation: 1

You may install packages from interface Interface

Upvotes: 0

Klaus-Dieter Warzecha
Klaus-Dieter Warzecha

Reputation: 2335

If you can't find a package with a simple conda search from the command line, run a search on the Anaconda website.

In your case, you'll find that the contributor amueller has his own channel and the package wordcloud is available.

Just run conda install -c amueller wordcloud=1.2.1 to install it.

You might want to create a separate environment using conda create first.

Upvotes: 1

Related Questions