Created
March 5, 2023 06:35
-
-
Save K-Wu/746f45b2fd4f120abcf827c218279a94 to your computer and use it in GitHub Desktop.
.vscode configurations to setup conda env whenever terminal opens
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// from https://stackoverflow.com/a/60438516 | |
"terminal.integrated.env.linux": { | |
"BASH_INIT_COMMAND": "source ~/conda_init.sh && conda activate exp_prelim" | |
}, | |
"python.analysis.typeCheckingMode": "basic", | |
"python.defaultInterpreterPath": "/home/kwu/anaconda3/envs/exp_prelim/bin/python", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment