I have a local Python installation in //anaconda/bin/python
In the command prompt
$python
>>import sys
>>print sys.executable
>>//anaconda/bin/python
but, in emacs I get
M-x shell
bash-3.2$ python
>>import sys
>> print sys.executable
>> /usr/bin/python
How can I set my path to use the desired Python in the emacs shell?