安装SciPy时遇到的错误(详细信息如下)

时间:2014-07-09 23:32:10

标签: python command-line scipy

我是SciPy和命令行的新手。所以我按照教程安装了科学python,下面是链接

http://penandpants.com/2013/04/04/install-scientific-python-on-mac-os-x/

是的,我正在使用Mac OS X版本10.8.5 Mountain Lion。我已正确安装了最新的Xcode,命令行和Git。然后我按照教程开始安装python。

事情似乎工作正常,但我确实遇到了负担

$ brew install gfortran 

显示以下错误

Error: No available formula for gfortran
GNU Fortran is now provided as part of GCC, and can be installed with:
  brew install gcc

因此,我安装了gcc。然后我继续

$ brew install scipy --with-openblas

出现以下错误

error: option --single-version-externally-managed not recognized

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting

/usr/local/Library/Homebrew/exceptions.rb:182:in `dump': undefined local variable or method `f' for #<BuildError:0x10b76f910> (NameError)
    from /usr/local/Library/brew.rb:158

当我按照故障排除建议时,以下显示

aca80164:~ user$ brew update
Already up-to-date.
aca80164:~ user$ brew doctor

请注意,这些警告仅用于帮助Homebrew维护人员 如果提交问题,请进行调试。如果您使用Homebrew的所有内容都是 工作正常:请不要担心,只是忽略它们。谢谢!

Warning: Python is installed at /Library/Frameworks/Python.framework

Homebrew只支持构建系统提供的Python或者 酿造Python。特别是,安装到/ Library的Pythons会干扰 与其他软件安装。

Warning: /usr/local/share/python is not needed in PATH.
Formerly homebrew put Python scripts you installed via `pip` or `pip3`
(or `easy_install`) into that directory above but now it can be removed
from your PATH variable.
Python scripts will now install into /usr/local/bin.
You can delete anything, except 'Extras', from the /usr/local/share/python
(and /usr/local/share/python3) dir and install affected Python packages
anew with `pip install --upgrade`.

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:

python

从我的浅薄知识来看,第一次警告似乎很好,关注我的是第二次和第三次警告,我不知道如何从这里开始。我希望有一些建议。谢谢。

0 个答案:

没有答案