I have the following conda environment under Linux:
$ conda info -e
# conda environments:
#
py33 /u21/coyotito/.anaconda/envs/py33
root * /u21/coyotito/.anaconda
And py33
is created with this command:
$ conda create -n py33 python=3.3 anaconda
The problem is when I activate py33
it still cannot call Python version 3.3.
[coyotito@pearl ~]$ source activate py33
(coyotito)[coyotito@pearl ~]$ python --version
Python 2.7.10 :: Anaconda 2.1.0 (64-bit)
(coyotito)[coyotito@pearl ~]$ conda info -e
# conda environments:
#
py33 /u21/coyotito/.anaconda/envs/py33
root * /u21/coyotito/.anaconda
Namely it still calling old python. Notice also that the prompt under bracket is not (py33)
.
(coyotito)[coyotito@pearl ~]$ which python
~/.anaconda/bin/python
Instead of python in new environment:
~/.anaconda/envs/py33/bin/python3.3
How can I resolve this issue?
Update
My PATH environment in ~/.bash_profile
looks like this:
export PATH=$HOME/.anaconda/bin:$PATH
source deactivate
may be a sign that you have two concurrent versions of anaconda one in an environment? Maybe this is what is creating problems? – Watchmanwhich activate
return? – Rittenhouse$HOME/bin/activate
– Andriette