anaconda的python路径怎么看_我删除了anaconda,现在我的python路径被弄乱了。你知道如何解决它吗?...

I downloaded anaconda earlier today to experiment with a library that said I neede it. I ended up removing it, but now my old python installation does not work.

When I look at the environment variables I do notice it says anaconda under path. Does anyone know how to make everything go back 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

解决方案

Take a look at the /Users/spencercooley/.bashrc and/or /Users/spencercooley/.bash_profile files. One of them likely contains a line like export PATH=/Users/spencercooley/anaconda/bin:$PATH, which you can remove. Then, load up a new terminal instance and it should be back to normal.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值