Bad Interpreter: No such file or directory error when launching iPython with Anaconda

…衆ロ難τιáo~ 提交于 2019-12-24 12:44:30

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/19530084/bad-interpreter-no-such-file-or-directory-error-when-launching-ipython-with-ana

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!