错误的解释器:用Anaconda启动iPython时,没有此类文件或目录错误 [英] Bad Interpreter: No such file or directory error when launching iPython with Anaconda

查看:74
本文介绍了错误的解释器:用Anaconda启动iPython时,没有此类文件或目录错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装新的IDE并意外更改某些路径设置之前,我的ipython运行良好.现在,当我尝试从终端启动ipython时,会得到:

My ipython was working fine until I installed a new IDE and accidentally changed some path settings. Now, when I try to launch ipython from terminal I get:

-bash: /Users/JohnSmith/anaconda/bin/ipython: /Users/JohnSmith/anaconda/python.app/Contents/MacOS/python: bad interpreter: No such file or directory

如何重新更改我的路径/本地环境设置,以使其起作用?

How do I change my path/local environment settings back so that it works?

推荐答案

似乎卸载和重新安装Anaconda是最简单的解决方案(经过数小时的PATH变量测试等).

It seems that uninstalling and re-installing Anaconda was the easiest solution (after several hours of playing around with my PATH variables, etc).

这篇关于错误的解释器:用Anaconda启动iPython时,没有此类文件或目录错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆