Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Anaconda - I have set up an environment, how do I use it?

I have set up an environment in anaconda and installed additional packages in it (mainly pybrain).

How can I access the environment's modules and packages? Can those be imported from a python script? If so, how?

I searched the documentation but did not find the answer.

like image 206
Lucas Avatar asked Nov 26 '25 13:11

Lucas


1 Answers

If you have an environment created with conda, you need to activate it.

On Windows:

activate myenv_name

Other platforms:

source activate myenv_name

Replace myenv_name with name of your environment.

If you don't have such an environment skip this step.

Install pybrain with:

pip install pybrain

Now you can use it.

like image 196
Mike Müller Avatar answered Nov 29 '25 01:11

Mike Müller



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!