We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello
It seems that VSCode and Juputer extension don't update environment variable values, when value is changed in .env file.
.env file is located in VSCode/Juyter/project root directory
Action, which, I believe, will reproduce issue:
MY_CUSTOM_VAR=value_1
os.getenv('MY_CUSTOM_VAR')
'value_1'
MY_CUSTOM_VAR=value_2
Is that intended behaviour?
I use conda environment packaged with python, ipykernel and jupyter:
name: test channels: - conda-forge - defaults - microsoft dependencies: - tqdm - jupyter - lxml - python=3.9 - matplotlib - pandas[version='>=1.4'] - ipykernel - openpyxl - gspread - aiohttp[version='>=3.8'] - pylint - dataframe_image
(some packages have been removed for security reasons, but should work)
1.66.2
v2022.3.1000901801
No response
3.9.12 | packaged by conda-forge | (main, Mar 24 2022, 23:25:59) [GCC 10.3.0]
4.12.0
Local
The text was updated successfully, but these errors were encountered:
Thanks for the issue. This is a known issue: #9774.
Sorry, something went wrong.
rchiodo
No branches or pull requests
Applies To
What happened?
Hello
It seems that VSCode and Juputer extension don't update environment variable values, when value is changed in .env file.
.env file is located in VSCode/Juyter/project root directory
Action, which, I believe, will reproduce issue:
MY_CUSTOM_VAR=value_1
os.getenv('MY_CUSTOM_VAR')
MY_CUSTOM_VAR=value_2
os.getenv('MY_CUSTOM_VAR')
Is that intended behaviour?
I use conda environment packaged with python, ipykernel and jupyter:
(some packages have been removed for security reasons, but should work)
VS Code Version
1.66.2
Jupyter Extension Version
v2022.3.1000901801
Jupyter logs
No response
Coding Language and Runtime Version
3.9.12 | packaged by conda-forge | (main, Mar 24 2022, 23:25:59) [GCC 10.3.0]
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
4.12.0
Running Jupyter locally or remotely?
Local
The text was updated successfully, but these errors were encountered: