Python command in my Conda environment is not detected as Conda Python interpreter. After I activate Conda environment and command Python, it is still calling my system python.
I found this issue cuz I installed all the packages I need for a project and when I run the code it couldn't find the module.
When I check
python --version
Python 3.6.4
Which should be python 3.7.3 in my Anaconda3
also when I check the location of python
which python
/usr/local/bin/python
this one is not under anaconda directory. I check that anaconda3 folder and there were python3 and python3.7.
/anaconda3/bin/python3.7
python3 python3.7 python3.7m
python3-config python3.7-config python3.7m-config
Is there any way to solve the problem? Thank you in advance.