事故两次安装python(相同版本)(Installing python (same version) on accident twice)

编程入门 行业动态 更新时间:2024-10-24 14:15:56
事故两次安装python(相同版本)(Installing python (same version) on accident twice)

当我尝试使用macports安装scipy时,我不小心在我的mac(山狮)上安装了python 2.7:

sudo port安装py27-scipy

--->计算py27-scipy的依赖关系

--->要安装的依赖项:SuiteSparse gcc47 cctools cctools-headers llvm-3.3 libffi llvm_select cloog gmp isl gcc_select ld64 libiconv libmpc mpfr libstdcxx ppl glpk zlib py27-nose nosetests_select py27-setuptools python27 bzip2 db46 db_select gettext expat ncurses libedit openssl python_select sqlite3 py27-numpy fftw-3 swig-python swig pcre

我仍在使用我原来安装的python(以及matplotlib和numpy等),没有scipy。 如何删除此新版本? 它占用了大约2Gb的空间。

I accidentally installed python 2.7 again on my mac (mountain lion), when trying to install scipy using macports:

sudo port install py27-scipy

---> Computing dependencies for py27-scipy

---> Dependencies to be installed: SuiteSparse gcc47 cctools cctools-headers llvm-3.3 libffi llvm_select cloog gmp isl gcc_select ld64 libiconv libmpc mpfr libstdcxx ppl glpk zlib py27-nose nosetests_select py27-setuptools python27 bzip2 db46 db_select gettext expat ncurses libedit openssl python_select sqlite3 py27-numpy fftw-3 swig-python swig pcre

I am still using my original install of python (and matplotlib and numpy etc), without scipy. How do I remove this new version? It is taking up ~2Gb space.

最满意答案

sudo port uninstall python27怎么样?

How about sudo port uninstall python27?

更多推荐

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

发布评论

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

>www.elefans.com

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