卸载Anaconda后Python出错(Error with Python after I Uninstalled Anaconda)

编程入门 行业动态 更新时间:2024-10-27 12:30:51
卸载Anaconda后Python出错(Error with Python after I Uninstalled Anaconda)

我正在运行Mac OS X 10.11.6,并在此线程后卸载了Anaconda。 我从python.org下载了Python 3.5.2并安装了该版本但在终端当我输入python时它会响应以下内容:

Python 2.7.10(默认,2015年10月23日,19:19:21)[GCC 4.2.1兼容Apple LLVM 7.0.0(clang-700.0.59.5)]关于darwin类型“帮助”,“版权”,“信用”或“许可”以获取更多信息。

此外,当我尝试使用命令'sudo easy_install pip'通过终端安装pip时,我收到以下响应:

搜索pip最佳匹配:pip 8.1.2处理pip-8.1.2-py2.7.egg pip 8.1.2已经是easy-install.pth中的活动版本安装pip脚本到/ usr / local / bin错误:[ Errno 2]没有这样的文件或目录:'/ usr / local / bin / pip'

任何建议或帮助将不胜感激。 我只是想能够使用python.org中的Python IDLE

谢谢

I'm running Mac OS X 10.11.6 and just uninstalled Anaconda following this thread. I downloaded Python 3.5.2 from python.org and installed that version but in the terminal when I type in python it responds with the following:

Python 2.7.10 (default, Oct 23 2015, 19:19:21) [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin Type "help", "copyright", "credits" or "license" for more information.

Also when I try to install pip via the terminal using the command 'sudo easy_install pip' I get the following response:

Searching for pip Best match: pip 8.1.2 Processing pip-8.1.2-py2.7.egg pip 8.1.2 is already the active version in easy-install.pth Installing pip script to /usr/local/bin error: [Errno 2] No such file or directory: '/usr/local/bin/pip'

Any suggestions or help would be appreciated. I'm just want to be able to use the Python IDLE from python.org

Thanks

更多推荐

本文发布于:2023-07-24 10:58:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1245053.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Python   Anaconda   Uninstalled   Error

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!