简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM