'Can't Make Sense of Anaconda Environment PATH Variable
I've been trying to deploy a Heroku app and I was running into a lot of issues that I believe have to do with the virtual environment I was working in. I created a new virtual environment to try and resolve the issue; however, now I can't even import pandas or numpy within this environment. Checking the path returns this:
PATH: /usr/local/mysql/bin:/Users/Jack/opt/anaconda3/envs/learn-env/bin:/Users/Jack/opt/anaconda3/condabin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
I'm certainly no expert, but this seems like a very convoluted path. If this is indeed an issue, how do I go about resolving it?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|