Use environment variables from conda environment
已回答
I have successfully set my project interpreter to a python interpreter in a conda environment. In order to run some code, I also need to inherit the environment variables defined in that conda environment. However, that does not seem to happen. Is there a way to inherit the environment variables from a conda environment or do I need to set the environment variables manually for all run configurations?
请先登录再写评论。
Any solution to this?
I believe it's covered by https://youtrack.jetbrains.com/issue/PY-55405/Conda-environment-variables-set-with-env-config-vars-set-are-ignored
At the moment, setting the environment variables in the run configuration is the only option.