Forums

Miniconda python version issue

I installed latest version of Miniconda and the logs showed python 2.7.10 to be installed But when I check python version, it shows "Python 2.7.6"

When I do "conda list", It show 2.7.10 to be installed. I have checked whether miniconda is correctly added to PATH. /home/parashar/miniconda2/bin:/home/parashar/anaconda2/bin:/home/parashar/.local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

I also went to miniconda/bin and tried ./python2.7 --version and it again shows Python 2.7.6

Please help me out.

screenshot of whats happening

I don't think you're doing what you think you're doing. When I installed Conda into my home directory, and ran ./python --version from the bin directory, I got the 2.7.10 that I was expecting. I did notice that $PATH was not immediately updated in the console where I installed conda, though. Perhaps that's the source of your trouble. You also seem to have 2 versions of anaconda installed and I'm not sure how they may be interacting.

i reinstalled miniconda and now my PATH looks like this: /home/parashar/miniconda2/bin:/home/parashar/.local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

I restarted the bash terminal so that PATH could be updated.

OK -- did that help at all?

No it did not. Same problem

just to clarify, you are able to access it if you use the full path, but when you just type python, it defaults to the system one instead of the conda one?