OSX Anaconda default python -


i have anaconda distribution installed on macbook local home directory /users/simon/anaconda

when open iterm , type python see default osx install of python. saw thread here , implemented fix mentioned: mac using default python despite anaconda install

my .bash_profile looks this:

export path="$home/anaconda/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$path" 

a few strange things happen:

  1. when type python still see osx python despite having changed .bash_profile
  2. if source /users/simon/.bash_profile fixes problem. using python brings anaconda's python
  3. when quit iterm or restart computer , try load python again, goes osx version. .bash_profile remains unchanged.

when try of above using terminal works fine. issues described above appear specific iterm2 , i'm not sure why

how system use anacondas python instead of osx version?

it seems $path redefined somewhere else in configuration. doesn't cause issue if know in order loaded , keep track of what's going on.

i recommend bit of reading understand more load order.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -