Skip to content
New issue

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

Correct Python environment in terminal no longer loads #21943

Closed
andrew-weisman opened this issue Sep 7, 2023 · 31 comments
Closed

Correct Python environment in terminal no longer loads #21943

andrew-weisman opened this issue Sep 7, 2023 · 31 comments
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@andrew-weisman
Copy link

Type: Bug

Behaviour

Expected vs. Actual

Broke a couple days ago (around 9/5/23?). Previously, when a Python environment was selected in the bottom right (I'm using WSL2), when I opened a terminal, the corresponding venv Python environment would automatically load.

Now, I have to manually source the venv activate script.

I have tried putting "python.experiments.optInto": "pythonTerminalEnvVarActivation" into my remote WSL settings.json, but this does not help. Even upon restarting VS Code.

I have looked through both here and here but I have not found anything helpful. Perhaps I missed something.

Thanks in advance.

Steps to reproduce:

  1. Set my Python environment in the bottom right corner.
  2. Hit Ctrl-` to open a terminal.
  3. Typing python in the terminal and importing a library I know exists (using e.g. import streamlit) throws an importerror.

Diagnostic data

  • Python version (& distribution if applicable, e.g. Anaconda): 3.10.8
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): PipEnv
  • Value of the python.languageServer setting: Default
Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

2023-09-07 12:13:14.851 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2023-09-07 12:13:14.851 [info] Experiment 'pythonaa' is active
2023-09-07 12:13:14.851 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-09-07 12:13:14.851 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-09-07 12:13:14.851 [info] Experiment 'pythonSurveyNotification' is active
2023-09-07 12:13:14.851 [info] Experiment 'pythonTestAdapter' is active
2023-09-07 12:13:14.851 [info] Test server listening.
2023-09-07 12:13:14.851 [info] Python interpreter path: ~/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 12:13:15.546 [info] > conda info --json
2023-09-07 12:13:15.622 [info] > . ~/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server/extensions/ms-python.python-2023.15.12301911/pythonFiles/printEnvVariables.py
2023-09-07 12:13:15.622 [info] shell: bash
2023-09-07 12:13:16.390 [info] Starting Pylance language server.

User Settings


languageServer: "Pylance"

experiments
• optInto: ["pythonTerminalEnvVarActivation"]

Extension version: 2023.15.12301911
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i7-1265U (12 x 2688)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 31.44GB (10.67GB free)
Process Argv --crash-reporter-id a11beee0-9324-4740-85d9-6f0e82af3399
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.10.16.3-microsoft-standard-WSL2
CPUs 12th Gen Intel(R) Core(TM) i7-1265U (12 x 2688)
Memory (System) 15.36GB (14.15GB free)
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263:30792226
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30803844
2e4cg342:30602488
89544117:30613380
2i9eh265:30646982
showlangstatbar:30737416
962ge761:30823813
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
asynctok:30821568
dsvsc013:30795093
dsvsc014:30804076
diffeditorv1:30821571
dsvsc015:30829745

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Sep 7, 2023
@andrew-weisman
Copy link
Author

In addition, now some Python scripts can no longer resolve packages that are certainly installed in the environment selected in the bottom right. E.g., now streamlit in my import streamlit as st statement in my Python script is colored white and has a yellow underline noting that streamlit could not be resolved, even though the correct environment is selected in the bottom right.

This is making development frustrating and I would really appreciate a fix soon. Thank you!

@karthiknadig
Copy link
Member

I will let @karrtikr investigate further, but this setting should be an array:

"python.experiments.optInto": ["pythonTerminalEnvVarActivation"]

@andrew-weisman
Copy link
Author

This broke at exactly the same time I started seeing this message when opening a terminal in VS Code:

image

@andrew-weisman
Copy link
Author

Thanks @karthiknadig, pretty sure I had that but messed it up when I pasted it into the Issue.

To be clear, my file /home/XXXX/.vscode-server/data/Machine/settings.json has the contents:

{
    "python.experiments.optInto": ["pythonTerminalEnvVarActivation"]
}

and this still does not work even when restarting VS Code.

Thanks, looking forward to getting this resolved @karrtikr et. al.

@karrtikr
Copy link

karrtikr commented Sep 7, 2023

Hi @andrew-weisman 👋 Can you please provide the Python debug logs? Steps:

  • Run Developer: Set log level command

  • Select Python -> Select Trace

  • Run Developer: Reload Window command

  • Provide the output:

    Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

    XXX
    

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Sep 7, 2023
@karrtikr
Copy link

karrtikr commented Sep 7, 2023

Also, try hovering over the terminal name and click "Show environments contributions":

image

Please send all information under the Python section.

@karrtikr
Copy link

karrtikr commented Sep 7, 2023

Lastly, try running the following command in terminal and see if it matches if the selected environment:

python -c "import sys;print(sys.executable)"

@andrew-weisman
Copy link
Author

Thanks @karrtikr:

Python debug logs:

2023-09-07 14:11:32.881 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2023-09-07 14:11:32.881 [info] Experiment 'pythonaa' is active
2023-09-07 14:11:32.881 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-09-07 14:11:32.881 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-09-07 14:11:32.881 [info] Experiment 'pythonSurveyNotification' is active
2023-09-07 14:11:32.881 [info] Experiment 'pythonTestAdapter' is active
2023-09-07 14:11:32.883 [info] Test server listening.
2023-09-07 14:11:32.895 [info] Python interpreter path: ~/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:11:33.660 [info] > conda info --json
2023-09-07 14:11:33.749 [info] > . ~/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server/extensions/ms-python.python-2023.15.12301911/pythonFiles/printEnvVariables.py
2023-09-07 14:11:33.749 [info] shell: bash
2023-09-07 14:11:34.577 [info] Starting Pylance language server.

Environment contributions (there is no Python section!):

# Terminal Environment Changes

## Extension: vscode.git

Enables the following features: git auth provider

- `GIT_ASKPASS=/home/weismanal/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/extensions/git/dist/askpass.sh`
- `VSCODE_GIT_ASKPASS_NODE=/home/weismanal/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/node`
- `VSCODE_GIT_ASKPASS_EXTRA_ARGS=`
- `VSCODE_GIT_ASKPASS_MAIN=/home/weismanal/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/extensions/git/dist/askpass-main.js`
- `VSCODE_GIT_IPC_HANDLE=/mnt/wslg/runtime-dir/vscode-git-598e09af0e.sock`
image

Python version command:

(base) weismanal@XXXX:~/projects/spatial-interaction-tool/app-dev/repo$ python -c "import sys;print(sys.executable)"
/home/weismanal/programs/miniconda3/bin/python

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Sep 7, 2023
@karrtikr

This comment was marked as resolved.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Sep 7, 2023
@andrew-weisman

This comment was marked as resolved.

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Sep 7, 2023
@karrtikr

This comment was marked as resolved.

@karrtikr

This comment was marked as resolved.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Sep 7, 2023
@andrew-weisman
Copy link
Author

Sure, that stuck this time:

2023-09-07 14:28:37.903 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2023-09-07 14:28:37.903 [info] Experiment 'pythonaa' is active
2023-09-07 14:28:37.903 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-09-07 14:28:37.903 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-09-07 14:28:37.903 [info] Experiment 'pythonSurveyNotification' is active
2023-09-07 14:28:37.903 [info] Experiment 'pythonTestAdapter' is active
2023-09-07 14:28:37.903 [debug] Getting roots
2023-09-07 14:28:37.903 [debug] Getting roots
2023-09-07 14:28:37.903 [debug] Found roots
2023-09-07 14:28:37.903 [debug] Start watching file for changes /home/weismanal/.conda/environments.txt
2023-09-07 14:28:37.903 [debug] Start watching: /home/weismanal/.conda with pattern environments.txt using VSCode API
2023-09-07 14:28:37.903 [debug] Found roots
2023-09-07 14:28:37.903 [debug] Start watching root /home/weismanal/projects/spatial-interaction-tool/app-dev/repo for globs ["python","*/python","*/bin/python"]
2023-09-07 14:28:37.903 [debug] Start watching: /home/weismanal/projects/spatial-interaction-tool/app-dev/repo with pattern python using VSCode API
2023-09-07 14:28:37.903 [debug] Start watching: /home/weismanal/projects/spatial-interaction-tool/app-dev/repo with pattern */python using VSCode API
2023-09-07 14:28:37.903 [debug] Start watching: /home/weismanal/projects/spatial-interaction-tool/app-dev/repo with pattern */bin/python using VSCode API
2023-09-07 14:28:37.903 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"wsl_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:37.903 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"wsl_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:37.903 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"wsl_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:37.903 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:37.903 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"wsl_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:37.903 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"wsl_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:37.903 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:37.903 [debug] Waiting for test server to start...
2023-09-07 14:28:37.903 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:37.903 [debug] VS Code was not launched from the command line, not selecting activated interpreter
2023-09-07 14:28:37.904 [info] Test server listening.
2023-09-07 14:28:37.904 [debug] Test server started.
2023-09-07 14:28:37.904 [debug] Testing: Setting up watcher for /home/weismanal/projects/spatial-interaction-tool/app-dev/repo
2023-09-07 14:28:37.906 [debug] Needed to validate /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python with latest info
2023-09-07 14:28:37.906 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:37.908 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:28:37.909 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:37.910 [debug] Needed to validate /home/weismanal/.local/share/virtualenvs/test_streamlit-ayY0gCJ2/bin/python with latest info
2023-09-07 14:28:37.910 [debug] Resolved /home/weismanal/.local/share/virtualenvs/test_streamlit-ayY0gCJ2/bin/python from cache: {"name":"test_streamlit-ayY0gCJ2","location":"/home/weismanal/.local/share/virtualenvs/test_streamlit-ayY0gCJ2","kind":"virt-venv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/test_streamlit-ayY0gCJ2/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/test_streamlit-ayY0gCJ2","ctime":1675370389248,"mtime":1675370389248},"display":"Python 3.10.12 ('test_streamlit-ayY0gCJ2')","version":{"major":3,"minor":10,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/test_streamlit-ayY0gCJ2/bin/python","detailedDisplayName":"Python 3.10.12 ('test_streamlit-ayY0gCJ2': venv)"}
2023-09-07 14:28:37.912 [debug] Needed to validate /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python with latest info
2023-09-07 14:28:37.912 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:37.912 [debug] Needed to validate /bin/python3 with latest info
2023-09-07 14:28:37.912 [debug] Resolved /bin/python3 from cache: {"name":"","location":"","kind":"global-other","executable":{"filename":"/bin/python3","sysPrefix":"/usr","ctime":1670887312916,"mtime":1660819144000},"display":"Python 3.10.12 64-bit","version":{"major":3,"minor":10,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/bin/python3","detailedDisplayName":"Python 3.10.12 64-bit"}
2023-09-07 14:28:37.912 [debug] Needed to validate /usr/bin/python3 with latest info
2023-09-07 14:28:37.913 [debug] Resolved /usr/bin/python3 from cache: {"name":"","location":"","kind":"global-other","executable":{"filename":"/usr/bin/python3","sysPrefix":"/usr","ctime":1670887312916,"mtime":1660819144000},"display":"Python 3.10.12 64-bit","version":{"major":3,"minor":10,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/usr/bin/python3","detailedDisplayName":"Python 3.10.12 64-bit"}
2023-09-07 14:28:37.913 [debug] Needed to validate /home/weismanal/programs/miniconda3/bin/python with latest info
2023-09-07 14:28:37.913 [debug] Resolved /home/weismanal/programs/miniconda3/bin/python from cache: {"name":"base","location":"/home/weismanal/programs/miniconda3","kind":"virt-conda","executable":{"filename":"/home/weismanal/programs/miniconda3/bin/python","sysPrefix":"/home/weismanal/programs/miniconda3","ctime":1671654019720,"mtime":1671654019720},"display":"Python 3.9.12 ('base')","version":{"major":3,"minor":9,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/weismanal/programs/miniconda3/bin/python","detailedDisplayName":"Python 3.9.12 ('base': conda)"}
2023-09-07 14:28:37.914 [debug] Needed to validate /home/weismanal/programs/miniconda3/envs/as_of_2022-12-21/bin/python with latest info
2023-09-07 14:28:37.914 [debug] Resolved /home/weismanal/programs/miniconda3/envs/as_of_2022-12-21/bin/python from cache: {"name":"as_of_2022-12-21","location":"/home/weismanal/programs/miniconda3/envs/as_of_2022-12-21","kind":"virt-conda","executable":{"filename":"/home/weismanal/programs/miniconda3/envs/as_of_2022-12-21/bin/python","sysPrefix":"/home/weismanal/programs/miniconda3/envs/as_of_2022-12-21","ctime":1671654368570,"mtime":1671654368570},"display":"Python 3.10.8 ('as_of_2022-12-21')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/home/weismanal/programs/miniconda3/envs/as_of_2022-12-21/bin/python","detailedDisplayName":"Python 3.10.8 ('as_of_2022-12-21': conda)"}
2023-09-07 14:28:37.915 [debug] Needed to validate /home/weismanal/programs/miniconda3/envs/palantir-test/bin/python with latest info
2023-09-07 14:28:37.915 [debug] Resolved /home/weismanal/programs/miniconda3/envs/palantir-test/bin/python from cache: {"name":"palantir-test","location":"/home/weismanal/programs/miniconda3/envs/palantir-test","kind":"virt-conda","executable":{"filename":"/home/weismanal/programs/miniconda3/envs/palantir-test/bin/python","sysPrefix":"/home/weismanal/programs/miniconda3/envs/palantir-test","ctime":1676016832574,"mtime":1676016832574},"display":"Python 3.10.9 ('palantir-test')","version":{"major":3,"minor":10,"micro":9,"release":{"level":"final","serial":0},"sysVersion":"3.10.9 (main, Jan 11 2023, 15:21:40) [GCC 11.2.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/home/weismanal/programs/miniconda3/envs/palantir-test/bin/python","detailedDisplayName":"Python 3.10.9 ('palantir-test': conda)"}
2023-09-07 14:28:37.918 [debug] Needed to validate /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python with latest info
2023-09-07 14:28:37.918 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:37.920 [debug] Needed to validate /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python with latest info
2023-09-07 14:28:37.920 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:37.921 [info] Python interpreter path: ~/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:28:37.921 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-09-07 14:28:37.921 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:28:37.921 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:37.987 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:28:37.987 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:37.988 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:28:37.988 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:37.989 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:28:37.989 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:38.026 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:38.026 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"wsl_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:38.026 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"wsl_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:38.026 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:38.026 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"wsl_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:38.026 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"wsl_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:38.026 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:38.026 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"wsl_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:38.026 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"wsl_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:38.026 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:38.028 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:38.180 [debug] Extension ms-toolsai.jupyter accessed onDidEnvironmentVariablesChange with args: undefined
2023-09-07 14:28:38.181 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-09-07 14:28:38.183 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2023-09-07 14:28:38.184 [debug] Extension ms-toolsai.jupyter accessed onDidEnvironmentVariablesChange with args: undefined
2023-09-07 14:28:38.185 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2023-09-07 14:28:38.186 [debug] Extension ms-toolsai.jupyter accessed onDidChangeActiveEnvironmentPath with args: undefined
2023-09-07 14:28:38.187 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2023-09-07 14:28:38.188 [debug] Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath with args: undefined
2023-09-07 14:28:38.189 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","path":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python"}
2023-09-07 14:28:38.190 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-09-07 14:28:38.192 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-09-07 14:28:38.193 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/weismanal/.local/share/virtualenvs/test_streamlit-ayY0gCJ2/bin/python","id":"/home/weismanal/.local/share/virtualenvs/test_streamlit-ayY0gCJ2/bin/python","executable":{"uri":{"$mid":1,"path":"/home/weismanal/.local/share/virtualenvs/test_streamlit-ayY0gCJ2/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/weismanal/.local/share/virtualenvs/test_streamlit-ayY0gCJ2"},"environment":{"type":"VirtualEnvironment","name":"test_streamlit-ayY0gCJ2","folderUri":{"$mid":1,"path":"/home/weismanal/.local/share/virtualenvs/test_streamlit-ayY0gCJ2","scheme":"file"}},"version":{"major":3,"minor":10,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]"},"tools":["Venv"]},"id":"/home/weismanal/.local/share/virtualenvs/test_streamlit-ayY0gCJ2/bin/python"}
2023-09-07 14:28:38.195 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/bin/python3","id":"/bin/python3","executable":{"uri":{"$mid":1,"path":"/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":10,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]"},"tools":[]},"id":"/bin/python3"}
2023-09-07 14:28:38.196 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","executable":{"uri":{"$mid":1,"fsPath":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","path":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH"},"environment":{"type":"VirtualEnvironment","name":"testing_streamlit-BSTEB2XH","folderUri":{"$mid":1,"path":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","scheme":"file"}},"version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"tools":["Pipenv"]},"id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python"}
2023-09-07 14:28:38.197 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/usr/bin/python3","id":"/usr/bin/python3","executable":{"uri":{"$mid":1,"path":"/usr/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":10,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]"},"tools":[]},"id":"/usr/bin/python3"}
2023-09-07 14:28:38.198 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/weismanal/programs/miniconda3/bin/python","id":"/home/weismanal/programs/miniconda3/bin/python","executable":{"uri":{"$mid":1,"path":"/home/weismanal/programs/miniconda3/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/weismanal/programs/miniconda3"},"environment":{"type":"Conda","name":"base","folderUri":{"$mid":1,"path":"/home/weismanal/programs/miniconda3","scheme":"file"}},"version":{"major":3,"minor":9,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]"},"tools":["Conda"]},"id":"/home/weismanal/programs/miniconda3/bin/python"}
2023-09-07 14:28:38.200 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/weismanal/programs/miniconda3/envs/palantir-test/bin/python","id":"/home/weismanal/programs/miniconda3/envs/palantir-test/bin/python","executable":{"uri":{"$mid":1,"path":"/home/weismanal/programs/miniconda3/envs/palantir-test/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/weismanal/programs/miniconda3/envs/palantir-test"},"environment":{"type":"Conda","name":"palantir-test","folderUri":{"$mid":1,"path":"/home/weismanal/programs/miniconda3/envs/palantir-test","scheme":"file"}},"version":{"major":3,"minor":10,"micro":9,"release":{"level":"final","serial":0},"sysVersion":"3.10.9 (main, Jan 11 2023, 15:21:40) [GCC 11.2.0]"},"tools":["Conda"]},"id":"/home/weismanal/programs/miniconda3/envs/palantir-test/bin/python"}
2023-09-07 14:28:38.202 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","path":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python"}
2023-09-07 14:28:38.207 [debug] Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath with args: undefined
2023-09-07 14:28:38.208 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/weismanal/programs/miniconda3/envs/as_of_2022-12-21/bin/python","id":"/home/weismanal/programs/miniconda3/envs/as_of_2022-12-21/bin/python","executable":{"uri":{"$mid":1,"path":"/home/weismanal/programs/miniconda3/envs/as_of_2022-12-21/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/weismanal/programs/miniconda3/envs/as_of_2022-12-21"},"environment":{"type":"Conda","name":"as_of_2022-12-21","folderUri":{"$mid":1,"path":"/home/weismanal/programs/miniconda3/envs/as_of_2022-12-21","scheme":"file"}},"version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"tools":["Conda"]},"id":"/home/weismanal/programs/miniconda3/envs/as_of_2022-12-21/bin/python"}
2023-09-07 14:28:38.212 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-09-07 14:28:38.212 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:28:38.212 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:38.236 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","path":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python"}
2023-09-07 14:28:38.237 [debug] Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath with args: undefined
2023-09-07 14:28:38.239 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-09-07 14:28:38.260 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2023-09-07 14:28:38.261 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2023-09-07 14:28:38.262 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","path":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python"}
2023-09-07 14:28:38.263 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2023-09-07 14:28:38.264 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","path":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python"}
2023-09-07 14:28:38.265 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","path":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python"}
2023-09-07 14:28:38.265 [debug] Extension ms-python.isort accessed onDidChangeActiveEnvironmentPath with args: undefined
2023-09-07 14:28:38.266 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2023-09-07 14:28:38.299 [debug] Searching for conda.
2023-09-07 14:28:38.580 [debug] Probing conda binary: conda
2023-09-07 14:28:38.593 [debug] Dump environment variables {
    "USER": "weismanal",
    "VSCODE_WSL_EXT_LOCATION": "/mnt/c/Users/weismanal/.vscode/extensions/ms-vscode-remote.remote-wsl-0.81.2",
    "SHLVL": "0",
    "HOME": "/home/weismanal",
    "WSL_DISTRO_NAME": "Ubuntu",
    "WAYLAND_DISPLAY": "wayland-0",
    "LOGNAME": "weismanal",
    "NAME": "NCATS-2260152-P",
    "WSL_INTEROP": "/run/WSL/7375_interop",
    "PULSE_SERVER": "/mnt/wslg/PulseServer",
    "_": "/home/weismanal/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/node",
    "TERM": "xterm-256color",
    "XDG_RUNTIME_DIR": "/mnt/wslg/runtime-dir",
    "DISPLAY": ":0",
    "LANG": "C.UTF-8",
    "SHELL": "/bin/bash",
    "PWD": "/mnt/c/Users/weismanal/AppData/Local/Programs/Microsoft VS Code",
    "HOSTTYPE": "x86_64",
    "WSLENV": "VSCODE_WSL_EXT_LOCATION/up",
    "VSCODE_HANDLES_SIGPIPE": "true",
    "CONDA_EXE": "/home/weismanal/programs/miniconda3/bin/conda",
    "_CE_M": "",
    "CONDA_PREFIX": "/home/weismanal/programs/miniconda3",
    "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:",
    "CONDA_PROMPT_MODIFIER": "(base) ",
    "LESSCLOSE": "/usr/bin/lesspipe %s %s",
    "_CE_CONDA": "",
    "LESSOPEN": "| /usr/bin/lesspipe %s",
    "CONDA_SHLVL": "1",
    "CONDA_PYTHON_EXE": "/home/weismanal/programs/miniconda3/bin/python",
    "CONDA_DEFAULT_ENV": "base",
    "XDG_DATA_DIRS": "/usr/local/share:/usr/share:/var/lib/snapd/desktop",
    "VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
    "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
    "VSCODE_NLS_CONFIG": "{\"locale\":\"en\",\"osLocale\":\"en\",\"availableLanguages\":{}}",
    "VSCODE_CWD": "/mnt/c/Users/weismanal/AppData/Local/Programs/Microsoft VS Code",
    "ELECTRON_RUN_AS_NODE": "1",
    "VSCODE_IPC_HOOK_CLI": "/mnt/wslg/runtime-dir/vscode-ipc-3f48f3c2-8b27-4861-9cf9-0e0b309a5091.sock",
    "PATH": "/home/weismanal/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/bin/remote-cli:/home/weismanal/.local/bin:/home/weismanal/programs/miniconda3/bin:/home/weismanal/programs/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/c/Program Files (x86)/HID Global/ActivClient:/mnt/c/Program Files/HID Global/ActivClient:/mnt/c/Users/weismanal/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/weismanal/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/texlive/2022/bin/win32:/mnt/c/Users/weismanal/AppData/Local/GitHubDesktop/bin:/mnt/c/Users/weismanal/AppData/Local/Programs/Git/cmd:/snap/bin"
}
2023-09-07 14:28:38.603 [info] > conda info --json
2023-09-07 14:28:38.676 [debug] Activation Commands received source /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/activate for shell bash
2023-09-07 14:28:38.676 [debug] Has Custom Env Vars
2023-09-07 14:28:38.676 [debug] Activating Environment to capture Environment variables, . /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/weismanal/.vscode-server/extensions/ms-python.python-2023.15.12301911/pythonFiles/printEnvVariables.py
2023-09-07 14:28:38.676 [debug] Shell path 'bash', base path 'bash'
2023-09-07 14:28:38.676 [debug] Shell path identified as shell 'bash'
2023-09-07 14:28:38.676 [info] > . ~/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server/extensions/ms-python.python-2023.15.12301911/pythonFiles/printEnvVariables.py
2023-09-07 14:28:38.676 [info] shell: bash
2023-09-07 14:28:38.676 [debug] Shell Exec: . /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/weismanal/.vscode-server/extensions/ms-python.python-2023.15.12301911/pythonFiles/printEnvVariables.py with options: {
    "env": {
        "USER": "weismanal",
        "VSCODE_WSL_EXT_LOCATION": "/mnt/c/Users/weismanal/.vscode/extensions/ms-vscode-remote.remote-wsl-0.81.2",
        "SHLVL": "0",
        "HOME": "/home/weismanal",
        "WSL_DISTRO_NAME": "Ubuntu",
        "WAYLAND_DISPLAY": "wayland-0",
        "LOGNAME": "weismanal",
        "NAME": "NCATS-2260152-P",
        "WSL_INTEROP": "/run/WSL/7375_interop",
        "PULSE_SERVER": "/mnt/wslg/PulseServer",
        "_": "/home/weismanal/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/node",
        "TERM": "xterm-256color",
        "XDG_RUNTIME_DIR": "/mnt/wslg/runtime-dir",
        "DISPLAY": ":0",
        "LANG": "C.UTF-8",
        "SHELL": "/bin/bash",
        "PWD": "/mnt/c/Users/weismanal/AppData/Local/Programs/Microsoft VS Code",
        "HOSTTYPE": "x86_64",
        "WSLENV": "VSCODE_WSL_EXT_LOCATION/up",
        "VSCODE_HANDLES_SIGPIPE": "true",
        "CONDA_EXE": "/home/weismanal/programs/miniconda3/bin/conda",
        "_CE_M": "",
        "CONDA_PREFIX": "/home/weismanal/programs/miniconda3",
        "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:",
        "CONDA_PROMPT_MODIFIER": "(base) ",
        "LESSCLOSE": "/usr/bin/lesspipe %s %s",
        "_CE_CONDA": "",
        "LESSOPEN": "| /usr/bin/lesspipe %s",
        "CONDA_SHLVL": "1",
        "CONDA_PYTHON_EXE": "/home/weismanal/programs/miniconda3/bin/python",
        "CONDA_DEFAULT_ENV": "base",
        "XDG_DATA_DIRS": "/usr/local/share:/usr/share:/var/lib/snapd/desktop",
        "VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
        "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
        "VSCODE_NLS_CONFIG": "{\"locale\":\"en\",\"osLocale\":\"en\",\"availableLanguages\":{}}",
        "VSCODE_CWD": "/mnt/c/Users/weismanal/AppData/Local/Programs/Microsoft VS Code",
        "ELECTRON_RUN_AS_NODE": "1",
        "VSCODE_IPC_HOOK_CLI": "/mnt/wslg/runtime-dir/vscode-ipc-3f48f3c2-8b27-4861-9cf9-0e0b309a5091.sock",
        "PATH": "/home/weismanal/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/bin/remote-cli:/home/weismanal/.local/bin:/home/weismanal/programs/miniconda3/bin:/home/weismanal/programs/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/c/Program Files (x86)/HID Global/ActivClient:/mnt/c/Program Files/HID Global/ActivClient:/mnt/c/Users/weismanal/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/weismanal/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/texlive/2022/bin/win32:/mnt/c/Users/weismanal/AppData/Local/GitHubDesktop/bin:/mnt/c/Users/weismanal/AppData/Local/Programs/Git/cmd:/snap/bin",
        "PYTHONWARNINGS": "ignore",
        "PYTHONUNBUFFERED": "1",
        "PYTHONIOENCODING": "utf-8"
    },
    "shell": "bash",
    "timeout": 30000,
    "maxBuffer": 1000000,
    "throwOnStdErr": false,
    "encoding": "utf8"
}
2023-09-07 14:28:38.693 [debug] Extension ms-python.vscode-pylance accessed onDidEnvironmentVariablesChange with args: undefined
2023-09-07 14:28:38.694 [debug] Extension ms-python.vscode-pylance accessed onDidChangeActiveEnvironmentPath with args: undefined
2023-09-07 14:28:38.872 [debug] Clearing context for python dependencies not installed: /home/weismanal/projects/spatial-interaction-tool/app-dev/repo/pages/04_Plot_annotation_data.py
2023-09-07 14:28:39.055 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-09-07 14:28:39.056 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:28:39.056 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:39.106 [debug] Clearing context for python dependencies not installed: /home/weismanal/projects/spatial-interaction-tool/app-dev/repo/pages/04_Plot_annotation_data.py
2023-09-07 14:28:39.413 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-09-07 14:28:39.413 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-09-07 14:28:39.414 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:28:39.414 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:28:39.414 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:39.414 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:39.463 [debug] Clearing context for python dependencies not installed: /home/weismanal/projects/spatial-interaction-tool/app-dev/repo/pages/04_Plot_annotation_data.py
2023-09-07 14:28:39.508 [debug] conda info --json: {
  "GID": 1000,
  "UID": 1000,
  "active_prefix": "/home/weismanal/programs/miniconda3",
  "active_prefix_name": "base",
  "av_data_dir": "/home/weismanal/programs/miniconda3/etc/conda",
  "av_metadata_url_base": null,
  "channels": [
    "https://conda.anaconda.org/conda-forge/linux-64",
    "https://conda.anaconda.org/conda-forge/noarch",
    "https://repo.anaconda.com/pkgs/main/linux-64",
    "https://repo.anaconda.com/pkgs/main/noarch",
    "https://repo.anaconda.com/pkgs/r/linux-64",
    "https://repo.anaconda.com/pkgs/r/noarch"
  ],
  "conda_build_version": "not installed",
  "conda_env_version": "23.1.0",
  "conda_location": "/home/weismanal/programs/miniconda3/lib/python3.9/site-packages/conda",
  "conda_prefix": "/home/weismanal/programs/miniconda3",
  "conda_shlvl": 1,
  "conda_version": "23.1.0",
  "config_files": [
    "/home/weismanal/.condarc"
  ],
  "default_prefix": "/home/weismanal/programs/miniconda3",
  "env_vars": {
    "CIO_TEST": "<not set>",
    "CONDA_DEFAULT_ENV": "base",
    "CONDA_EXE": "/home/weismanal/programs/miniconda3/bin/conda",
    "CONDA_PREFIX": "/home/weismanal/programs/miniconda3",
    "CONDA_PROMPT_MODIFIER": "(base) ",
    "CONDA_PYTHON_EXE": "/home/weismanal/programs/miniconda3/bin/python",
    "CONDA_ROOT": "/home/weismanal/programs/miniconda3",
    "CONDA_SHLVL": "1",
    "CURL_CA_BUNDLE": "<not set>",
    "LD_PRELOAD": "<not set>",
    "PATH": "/home/weismanal/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/bin/remote-cli:/home/weismanal/.local/bin:/home/weismanal/programs/miniconda3/bin:/home/weismanal/programs/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/c/Program Files (x86)/HID Global/ActivClient:/mnt/c/Program Files/HID Global/ActivClient:/mnt/c/Users/weismanal/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/weismanal/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/texlive/2022/bin/win32:/mnt/c/Users/weismanal/AppData/Local/GitHubDesktop/bin:/mnt/c/Users/weismanal/AppData/Local/Programs/Git/cmd:/snap/bin",
    "PYTHONIOENCODING": "utf-8",
    "PYTHONUNBUFFERED": "1",
    "REQUESTS_CA_BUNDLE": "<not set>",
    "SSL_CERT_FILE": "<not set>"
  },
  "envs": [
    "/home/weismanal/programs/miniconda3",
    "/home/weismanal/programs/miniconda3/envs/as_of_2022-12-21",
    "/home/weismanal/programs/miniconda3/envs/palantir-test"
  ],
  "envs_dirs": [
    "/home/weismanal/programs/miniconda3/envs",
    "/home/weismanal/.conda/envs"
  ],
  "netrc_file": null,
  "offline": false,
  "pkgs_dirs": [
    "/home/weismanal/programs/miniconda3/pkgs",
    "/home/weismanal/.conda/pkgs"
  ],
  "platform": "linux-64",
  "python_version": "3.9.12.final.0",
  "rc_path": "/home/weismanal/.condarc",
  "requests_version": "2.28.1",
  "root_prefix": "/home/weismanal/programs/miniconda3",
  "root_writable": true,
  "site_dirs": [
    "~/.local/lib/python3.10"
  ],
  "sys.executable": "/home/weismanal/programs/miniconda3/bin/python",
  "sys.prefix": "/home/weismanal/programs/miniconda3",
  "sys.version": "3.9.12 (main, Apr  5 2022, 06:56:58) \n[GCC 7.5.0]",
  "sys_rc_path": "/home/weismanal/programs/miniconda3/.condarc",
  "user_agent": "conda/23.1.0 requests/2.28.1 CPython/3.9.12 Linux/5.10.16.3-microsoft-standard-WSL2 ubuntu/22.04.3 glibc/2.35",
  "user_rc_path": "/home/weismanal/.condarc",
  "virtual_pkgs": [
    [
      "__archspec",
      "1",
      "x86_64"
    ],
    [
      "__glibc",
      "2.35",
      "0"
    ],
    [
      "__linux",
      "5.10.16.3",
      "0"
    ],
    [
      "__unix",
      "0",
      "0"
    ]
  ]
}

2023-09-07 14:28:39.508 [debug] Found conda via filesystem probing: conda
2023-09-07 14:28:39.618 [info] Starting Pylance language server.
2023-09-07 14:28:39.619 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-09-07 14:28:39.620 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:28:39.620 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:39.622 [debug] [object Object]. Shell identified as undefined 
2023-09-07 14:28:39.622 [debug] Shell path '/bin/bash', base path '/bin/bash'
2023-09-07 14:28:39.622 [debug] Shell path identified as shell 'bash'
2023-09-07 14:28:39.622 [debug] Terminal shell path '/bin/bash' identified as shell 'bash'
2023-09-07 14:28:39.622 [debug] [object Object]. Shell identified as bash 
2023-09-07 14:28:39.622 [debug] Shell identified as 'bash'
2023-09-07 14:28:39.622 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-09-07 14:28:39.623 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:28:39.623 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:39.623 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"wsl_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:39.623 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"wsl_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:39.623 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-/home/weismanal/projects/spatial-interaction-tool/app-dev/repo"-Arg-Separator-undefined
2023-09-07 14:28:39.645 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:28:39.646 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:39.646 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:28:39.646 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:28:39.657 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2023-09-07 14:28:39.658 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","path":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python"}
2023-09-07 14:28:39.660 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","path":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python"}
2023-09-07 14:28:39.661 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2023-09-07 14:28:39.662 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2023-09-07 14:28:41.098 [debug] Clearing context for python dependencies not installed: /home/weismanal/projects/spatial-interaction-tool/app-dev/repo/pages/04_Plot_annotation_data.py
2023-09-07 14:29:01.710 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-09-07 14:29:01.710 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-09-07 14:29:01.710 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2023-09-07 14:29:01.711 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:29:01.711 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:29:01.711 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:29:01.711 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:29:01.711 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-09-07 14:29:01.711 [debug] Found cached env for /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python
2023-09-07 14:29:01.711 [debug] Resolved /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python from cache: {"name":"testing_streamlit-BSTEB2XH","location":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","kind":"virt-pipenv","executable":{"filename":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","sysPrefix":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH","ctime":1677195488393,"mtime":1677195488393},"display":"Python 3.10.8 ('testing_streamlit-BSTEB2XH')","version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"},"arch":3,"distro":{"org":""},"source":[],"type":"Virtual","id":"/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python","detailedDisplayName":"Python 3.10.8 ('testing_streamlit-BSTEB2XH': pipenv)"}
2023-09-07 14:29:01.753 [debug] Clearing context for python dependencies not installed: ms-python.python.Python

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Sep 7, 2023
@karrtikr
Copy link

karrtikr commented Sep 7, 2023

Can you try running

~/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server/extensions/ms-python.python-2023.15.12301911/pythonFiles/printEnvVariables.py

in bash terminal and send me the output?

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Sep 7, 2023
@andrew-weisman
Copy link
Author

Sure @karrtikr, here it is in a new WSL bash terminal (I assume you forgot the "." to source the activate script):

(base) weismanal@NCATS-2260152-P:~$ ~/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server/extensions/ms-python.python-2023.15.12301911/pythonFiles/printEnvVariables.py
-bash: /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/activate: Permission denied
(base) weismanal@NCATS-2260152-P:~$ . ~/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server/extensions/ms-python.python-2023.15.12301911/pythonFiles/printEnvVariables.py
e8b39361-0157-4923-80e1-22d70d46dee6
{"SHELL": "/bin/bash", "CONDA_EXE": "/home/weismanal/programs/miniconda3/bin/conda", "_CE_M": "", "WSL_DISTRO_NAME": "Ubuntu", "WT_SESSION": "0da6ea7f-aeb6-440f-aaff-0ae0db1c1901", "NAME": "NCATS-2260152-P", "PWD": "/home/weismanal", "LOGNAME": "weismanal", "CONDA_PREFIX": "/home/weismanal/programs/miniconda3", "HOME": "/home/weismanal", "LANG": "C.UTF-8", "WSL_INTEROP": "/run/WSL/19839_interop", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:", "VIRTUAL_ENV": "/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH", "WAYLAND_DISPLAY": "wayland-0", "CONDA_PROMPT_MODIFIER": "(base) ", "LESSCLOSE": "/usr/bin/lesspipe %s %s", "TERM": "xterm-256color", "_CE_CONDA": "", "LESSOPEN": "| /usr/bin/lesspipe %s", "USER": "weismanal", "CONDA_SHLVL": "1", "DISPLAY": ":0", "SHLVL": "1", "CONDA_PYTHON_EXE": "/home/weismanal/programs/miniconda3/bin/python", "XDG_RUNTIME_DIR": "/mnt/wslg/runtime-dir", "PS1": "(testing_streamlit) (base) \\[\\e]0;\\u@\\h: \\w\\a\\]${debian_chroot:+($debian_chroot)}\\[\\033[01;32m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ ", "CONDA_DEFAULT_ENV": "base", "WSLENV": "WT_SESSION::WT_PROFILE_ID", "XDG_DATA_DIRS": "/usr/local/share:/usr/share:/var/lib/snapd/desktop", "PATH": "/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin:/home/weismanal/.local/bin:/home/weismanal/programs/miniconda3/bin:/home/weismanal/programs/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/c/Program Files (x86)/HID Global/ActivClient:/mnt/c/Program Files/HID Global/ActivClient:/mnt/c/Users/weismanal/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/weismanal/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/texlive/2022/bin/win32:/mnt/c/Users/weismanal/AppData/Local/GitHubDesktop/bin:/mnt/c/Users/weismanal/AppData/Local/Programs/Git/cmd:/snap/bin", "HOSTTYPE": "x86_64", "PULSE_SERVER": "/mnt/wslg/PulseServer", "WT_PROFILE_ID": "{2c4de342-38b7-51cf-b940-2309a097f518}", "_": "/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python"}

Here it is in a new VS Code bash terminal:

(base) weismanal@NCATS-2260152-P:~/projects/spatial-interaction-tool/app-dev/repo$ ~/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server/extensions/ms-python.python-2023.15.12301911/pythonFiles/printEnvVariables.py
bash: /home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/activate: Permission denied
(base) weismanal@NCATS-2260152-P:~/projects/spatial-interaction-tool/app-dev/repo$ . ~/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server/exte
nsions/ms-python.python-2023.15.12301911/pythonFiles/printEnvVariables.py
e8b39361-0157-4923-80e1-22d70d46dee6
{"SHELL": "/bin/bash", "COLORTERM": "truecolor", "TERM_PROGRAM_VERSION": "1.81.1", "CONDA_EXE": "/home/weismanal/programs/miniconda3/bin/conda", "_CE_M": "", "WSL_DISTRO_NAME": "Ubuntu", "NAME": "NCATS-2260152-P", "PWD": "/home/weismanal/projects/spatial-interaction-tool/app-dev/repo", "LOGNAME": "weismanal", "CONDA_PREFIX": "/home/weismanal/programs/miniconda3", "VSCODE_GIT_ASKPASS_NODE": "/home/weismanal/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/node", "HOME": "/home/weismanal", "LANG": "C.UTF-8", "WSL_INTEROP": "/run/WSL/7375_interop", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:", "VIRTUAL_ENV": "/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH", "WAYLAND_DISPLAY": "wayland-0", "CONDA_PROMPT_MODIFIER": "(base) ", "GIT_ASKPASS": "/home/weismanal/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/extensions/git/dist/askpass.sh", "VSCODE_GIT_ASKPASS_EXTRA_ARGS": "", "LESSCLOSE": "/usr/bin/lesspipe %s %s", "TERM": "xterm-256color", "_CE_CONDA": "", "LESSOPEN": "| /usr/bin/lesspipe %s", "USER": "weismanal", "VSCODE_GIT_IPC_HANDLE": "/mnt/wslg/runtime-dir/vscode-git-598e09af0e.sock", "CONDA_SHLVL": "1", "DISPLAY": ":0", "SHLVL": "1", "CONDA_PYTHON_EXE": "/home/weismanal/programs/miniconda3/bin/python", "XDG_RUNTIME_DIR": "/mnt/wslg/runtime-dir", "PS1": "(testing_streamlit) \\[\u001b]633;A\u0007\\](base) \\[\\e]0;\\u@\\h: \\w\\a\\]${debian_chroot:+($debian_chroot)}\\[\\033[01;32m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ \\[\u001b]633;B\u0007\\]", "CONDA_DEFAULT_ENV": "base", "WSLENV": "VSCODE_WSL_EXT_LOCATION/up", "VSCODE_GIT_ASKPASS_MAIN": "/home/weismanal/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/extensions/git/dist/askpass-main.js", "XDG_DATA_DIRS": "/usr/local/share:/usr/share:/var/lib/snapd/desktop", "PATH": "/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin:/home/weismanal/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/bin/remote-cli:/home/weismanal/.local/bin:/home/weismanal/programs/miniconda3/bin:/home/weismanal/programs/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/c/Program Files (x86)/HID Global/ActivClient:/mnt/c/Program Files/HID Global/ActivClient:/mnt/c/Users/weismanal/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/weismanal/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/texlive/2022/bin/win32:/mnt/c/Users/weismanal/AppData/Local/GitHubDesktop/bin:/mnt/c/Users/weismanal/AppData/Local/Programs/Git/cmd:/snap/bin", "HOSTTYPE": "x86_64", "PULSE_SERVER": "/mnt/wslg/PulseServer", "TERM_PROGRAM": "vscode", "VSCODE_IPC_HOOK_CLI": "/mnt/wslg/runtime-dir/vscode-ipc-e61e53e6-f2e0-4d05-98ff-6fe55196cbe0.sock", "_": "/home/weismanal/.local/share/virtualenvs/testing_streamlit-BSTEB2XH/bin/python"}

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Sep 7, 2023
@karrtikr
Copy link

karrtikr commented Sep 7, 2023

Thanks, are you using Remote WSL? Note Python logs from those can be different.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Sep 7, 2023
@karrtikr
Copy link

karrtikr commented Sep 7, 2023

Everything looks good when looking at this info, ideally the env variables you see in the output: VIRTUAL_ENV, PATH should be applied to terminal. We'll have to add more logging to figure out what's going on.

Meanwhile, you can opt out of the experiment using

"python.experiments.optOutFrom": ["pythonTerminalEnvVarActivation"]

which should revert back to original behavior.

@andrew-weisman
Copy link
Author

Yes I am "remotely" connecting to WSL. But the problem occurs whether or not I have "python.experiments.optOutFrom": ["pythonTerminalEnvVarActivation"] set, which I did in /home/weismanal/.vscode-server/data/Machine/settings.json. Is that the correct location? Any other advice? I still don't have a fix aside from manually sourcing the file.

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Sep 7, 2023
@karrtikr
Copy link

karrtikr commented Sep 7, 2023

To be clear, I'm suggesting you to set "optOutFrom", not "optInto" as you mentioned here #21943 (comment).

@andrew-weisman
Copy link
Author

Ah my bad, thanks @karrtikr. That works well enough. It's not reverted to the original behavior because now the "base" conda environment is also active instead of just the selected environment (in this case, "testing_streamlit"). Previously, only testing_streamlit was activated. But that doesn't seem to cause any issues for me yet, and, while not ideal, I can always run "conda deactivate" to get rid of "(base)".

Thanks for your help!

@karrtikr
Copy link

karrtikr commented Sep 7, 2023

To get rid of (base) try running the following command:

conda config --set auto_activate_base False

This behavior actually comes from conda itself, not VS Code.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Sep 7, 2023
@karrtikr
Copy link

karrtikr commented Sep 7, 2023

Btw, can you do me a favor and try installing VS Code Insiders: #11039 (comment).

I think the issue is that you're on VS Code Stable, which does not have all the fixes yet, ideally you should not have been part of the experiment.

@andrew-weisman
Copy link
Author

Thanks, yes I can run conda config --set auto_activate_base False but I'm saying the conda base environment used to be deactivated automatically for me in the VS Code terminal. I.e., in VS Code, when I opened a terminal, automatically (1) the base conda environment got deactivated and (2) the testing_streamlit venv environment got activated.

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Sep 7, 2023
@andrew-weisman
Copy link
Author

Also, the problem of libraries in my scripts not being found anymore still occurs, it's pretty frustrating. Any advice aside from using VS Code Insiders? E.g., even though my environment is "testing_streamlit", my "import streamlit" statement is still flagged by Pylance. This didn't happen before I first got:

image

Thank you.

@karrtikr
Copy link

karrtikr commented Sep 7, 2023

Do you still get this prompt, even after opting out of experiment? If you do can please provide the logs again

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Sep 7, 2023
@karrtikr
Copy link

karrtikr commented Sep 7, 2023

VS Code 1.82 just got released, so installing VS Code Insiders should no longer be necessary, give it a try.

image

image

@andrew-weisman
Copy link
Author

Yep just upgraded and I don't get the prompt anymore even after removing the opt-out from my JSON file (so this file is empty).

Problems still occurring since these updates:

  • (important) Can't find libraries in my environment such as streamlit so Pylance complains
  • (not important) Base conda environment no longer gets automatically deactivated

Thank you.

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Sep 7, 2023
@karrtikr
Copy link

karrtikr commented Sep 7, 2023

Is the correct environment activated in terminal? Try the sys.executable command I mentioned earlier to find out.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Sep 7, 2023
@andrew-weisman
Copy link
Author

Sorry for the delay, but yes it is (note Pylance resolution issue underlined in yellow):

image

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Sep 7, 2023
@karrtikr
Copy link

karrtikr commented Sep 7, 2023

Gotcha, seeing as the original issue seems fixed let's tackle it in a new thread so everyone has a fresh context. Can you use Python: Report Issue command to open a new issue with logs? We'll make sure to transfer it appropriately to the right channels.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Sep 7, 2023
@andrew-weisman
Copy link
Author

Thanks @karrtikr. Looks like this was fixed with an update to Pylance pre-release just now, v2023.9.12. E.g., no longer complaining that it can't find the streamlit library. The (base) conda environment still no longer gets deactivated but I'm fine with that. Thanks for your help!

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Sep 9, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

3 participants