Skip to main content

Posts

Showing posts from September, 2019

Anaconda Prompt and Sublime Text - Windows (Add to right click)

Source:  https://gist.github.com/jiewpeng/8ba446acf329b1801bf91db767d179ea Open Regedit. Win + R > regedit.exe > Enter. Go to: Computer\HKEY_CLASSES_ROOT\Directory\Background\shell\ Add a key named AnacondaPrompt and set its value (Default) to "Anaconda Prompt Here" (or anything you'd like it to appear as in the right click context menu) Add a key under this key, called command, and set its value to: cmd.exe /K C:\Users\rb\Anaconda3\Scripts\activate.bat (may have to change the activate.bat file to whereever Anaconda is installed) No need to restart. To setup conda env to another dir: https://stackoverflow.com/questions/67610133 conda config --show conda config --add pkgs_dirs D:/.conda/pkgs conda config --add envs_dirs D:/.conda/envs conda config --remove envs_dirs  C:/Users/rb/.conda/envs conda config --remove envs_dirs  C:\Users\rb\AppData\Local\conda\conda\envs Sublime : Create a new file called foo.reg, paste the following text & execute it. Wind