You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess the PYTHONUSERBASE environment variable is to allow the packages installed by pip to remain after the workspace is restarted, but if it is only set in bash, other kinds of shells will have inconsistencies.
Is it feasible to put this process in pyenv shims , so that any we don't care about shell types ?
The text was updated successfully, but these errors were encountered:
Source all export variables from bash makes me a bit nervous.
Anyway, thanks for the solutions. I prefer to modify my dotfiles according to the script you supplied.
Bug description
Packages installed with pip under bash cannot be found under zsh.
Steps to reproduce
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'flask'
Expected behavior
Packages should be available regardless of shell type.
Example repository
https://github.com/xzmeng/xzmeng
Anything else?
workspace-images/chunks/lang-python/python_hook.bash
Line 10 in 72f19c9
workspace-images/chunks/lang-python/Dockerfile
Line 41 in 72f19c9
I guess the PYTHONUSERBASE environment variable is to allow the packages installed by pip to remain after the workspace is restarted, but if it is only set in bash, other kinds of shells will have inconsistencies.
Is it feasible to put this process in pyenv shims , so that any we don't care about shell types ?
The text was updated successfully, but these errors were encountered: