Skip to content

Instantly share code, notes, and snippets.

@Mebus
Forked from eliasah/Anaconda from Powershell.md
Last active December 14, 2018 08:47
Show Gist options
  • Save Mebus/f8c0c21fb86ba9869619606d7b483f38 to your computer and use it in GitHub Desktop.
Save Mebus/f8c0c21fb86ba9869619606d7b483f38 to your computer and use it in GitHub Desktop.
Running Anaconda 4 from Powershell on Windows 10

To correctly work with Anaconda on Powershell :

  • Run the anaconda command :
C:\Users\elias\Anaconda3> cmd C:\Users\elias\Anaconda3\envs\py35\Scripts\activate.bat C:\Users\elias\Anaconda3\envs\py35\Scripts\activate.bat
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
  • List the available environments:
conda info --envs
  • Activate your env :
C:\Users\elias\Anaconda3>activate py35
  • Deactivate your env :
(py35) C:\Users\elias\Anaconda3>deactivate
  • Close cmd to go back to the powershell prompt :
C:\Users\elias\Anaconda3>exit
PS C:\Users\elias\Anaconda3>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment