Guest User

Untitled

a guest
Nov 16th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. :: Launch PyCharm from within conda environment
  2.  
  3. :: This will ensure that all necessary environment variables are set.
  4. :: Modify the paths and environment name for your installation, if necessary.
  5. :: This configuration is for PyCharm x64 installed with JetBrains Toolbox and
  6. :: will launch the latest installed version.
  7.  
  8. @set condaroot="%userprofile%\Anaconda3"
  9. @set pycharmroot="%localappdata%\JetBrains\Toolbox\apps\PyCharm-P\ch-0"
  10. @set env=base
  11. @set binary=pycharm64
  12.  
  13. @cd %pycharmroot%
  14. @for /d %%D in (*) do @set f=%%~nxD
  15.  
  16. @cd %f%\bin
  17.  
  18. @call %condaroot%\Scripts\activate.bat %env%
  19. @start %binary%
Add Comment
Please, Sign In to add comment