is it possible to set environment variables for pycharm remote interpreter? (globally - not for a single script)
Answered
I did manage to set environment variable for specific scripts in the 'Edit Configuration' dialog, but i'm looking for a method to set variables globally for the remote interpreter
Please sign in to leave a comment.
i would also like to do that…
There is currently no configuration settings for that. Please vote for https://youtrack.jetbrains.com/issue/PY-32453/Feature-Request-Add-Environment-Variables-to-Interpreter
We'll also include the .env support in 2023.3 https://youtrack.jetbrains.com/issue/PY-5543/Run-Configuration-Allow-environment-variables-to-load-from-.env-file