Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :: Launch PyCharm from within conda environment
- :: This will ensure that all necessary environment variables are set.
- :: Modify the paths and environment name for your installation, if necessary.
- :: This configuration is for PyCharm x64 installed with JetBrains Toolbox and
- :: will launch the latest installed version.
- @set condaroot="%userprofile%\Anaconda3"
- @set pycharmroot="%localappdata%\JetBrains\Toolbox\apps\PyCharm-P\ch-0"
- @set env=base
- @set binary=pycharm64
- @cd %pycharmroot%
- @for /d %%D in (*) do @set f=%%~nxD
- @cd %f%\bin
- @call %condaroot%\Scripts\activate.bat %env%
- @start %binary%
Add Comment
Please, Sign In to add comment