I removed anaconda and now my python path is messed up. Do you know how to fix this?

I downloaded anaconda earlier today to experiment with a library that said I needed it. I finished the uninstall, but now my old python installation does not work.

When I look at the environment variables that I notice, he says that anaconda is under the path. Does anyone know how to make everything return to normal?

PATH=/Users/spencercooley/anaconda/bin:/usr/local/share/npm/bin:/opt/local/bin:/opt/local/sbin:/Users/spencercooley/.rvm/gems/ruby-1.9.3-p392/bin:/Users/spencercooley/.rvm/gems/ruby-1.9.3-p392@global/bin:/Users/spencercooley/.rvm/rubies/ruby-1.9.3-p392/bin:/Users/spencercooley/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/ImageMagick/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin
+4
source share
2 answers

/Users/spencercooley/.bashrc / /Users/spencercooley/.bash_profile. , , export PATH=/Users/spencercooley/anaconda/bin:$PATH, . , .

+3

. , : Anaconda script,

Blockquote ~/.bash_profile

python, anaconda, ~/.bash_profile, :

  • nano ~/.bash_profile vi ~/.bash_profile.
  • , /home//anaconda 3/bin: $PATH
+1

All Articles