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
Long story short, I installed anaconda and added it to path using putting export PATH=$PATH:/path/to/anaconda in .bashrc, didn't work. on ZSH, I added it to .zshrc, didn't work either. These always work on a live distro, but not inside wsl. I then tried adding it to /etc/profile, didn't work either.
Then someone told me about this ask ubuntu issue, which basically says you should add paths to /etc/environment.
I did it and it worked, until I restarted WSL and it no longer worked.
I have none of this issues when running a full linux distro on my pc, not sure what's happening, it's looks like a WSL issue.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this @ezxpro. WSL doesn't edit the $PATH after the shell is started, so changing the interop settings shouldn't affect this.
This is probably a configuration issue. I'd recommend validating that the changes you made to .zshrc / .bashrc are correctly applied by running echo $PATH (also FYI you need to restart your shell to apply your changes in those files).
Long story short, I installed anaconda and added it to path using putting
export PATH=$PATH:/path/to/anaconda
in.bashrc
, didn't work. on ZSH, I added it to.zshrc
, didn't work either. These always work on a live distro, but not inside wsl. I then tried adding it to/etc/profile
, didn't work either.Then someone told me about this ask ubuntu issue, which basically says you should add paths to
/etc/environment
.I did it and it worked, until I restarted WSL and it no longer worked.
I have none of this issues when running a full linux distro on my pc, not sure what's happening, it's looks like a WSL issue.
The text was updated successfully, but these errors were encountered: