0

我正在尝试在我的 Mac 10.7.5 上安装 QSTK,但错误如下所示,有人可以帮我吗?

==> Summary
  /usr/local/Cellar/gfortran/4.8.1: 1024 files, 119M
Installing numpy, scipy, matplotlib
numpy: Unsatisfied dependency: nose
External Python cannot `import nose`. Install with:
  sudo easy_install pip
  pip-2.5 install nose
Error: An unsatisfied requirement failed this build.
numpy: Unsatisfied dependency: nose
External Python cannot `import nose`. Install with:
  sudo easy_install pip
  pip-2.5 install nose
Error: An unsatisfied requirement failed this build.
matplotlib: Unsatisfied dependency: dateutil
External Python cannot `import dateutil`. Install with:
  sudo easy_install pip
  pip-2.5 install python-dateutil
matplotlib: Unsatisfied dependency: pyparsing
External Python cannot `import pyparsing`. Install with:
  sudo easy_install pip
  pip-2.5 install pyparsing
numpy: Unsatisfied dependency: nose
External Python cannot `import nose`. Install with:
  sudo easy_install pip
  pip-2.5 install nose
Error: Unsatisifed requirements failed this build.
Create QSTK directory
mkdir: /Users/wcf/QSTK: File exists
Install pandas, scikits
bash: line 42: pip: command not found
bash: line 43: pip: command not found
bash: line 44: pip: command not found
bash: line 45: pip: command not found
vagvlan536:~ wcf$ 
4

2 回答 2

0

……它不是在告诉你答案吗?你试过它说的吗?:

sudo easy_install pip

pip-2.5 安装鼻子

pip-2.5 安装 python-dateutil

pip-2.5 安装 pyparsing

于 2013-10-19T07:23:30.097 回答
0

我认为系统(/usr/bin)和brew(/usr/local/Cellar)之间存在python冲突。

建议您尝试以下方法:

  1. >which python - 如果结果返回 /usr/bin ,则说明您不在正确的路径上。
  2. >brew doctor - 按照说明覆盖 python 和 gdbm 的链接。例如brew link --overwrite python
  3. 重新安装鼻子和numpy应该可以工作。
于 2014-01-08T03:25:14.323 回答