Python 未在虚拟环境中继承主库(scipy)

Python 未在虚拟环境中继承主库(scipy),python,gcc,scipy,virtualenv,homebrew,Python,Gcc,Scipy,Virtualenv,Homebrew,我一直在尝试将Python中常用的库安装到一台新的笔记本电脑上。我使用的是mac OS版本10.9.3和Python 2.7 我安装了Xcode,Homebrew。不知怎的,Homebrew从一开始就显示错误。。通常我会安装ruby-e$curl-fsSL。这个力不起作用。但是找到了一个替代方案,现在我安装了gcc。我的usr/local/bin中安装了gcc和gfortan。这意味着我为scipy准备了gcc fortan 你们能告诉我我做错了什么吗?也许我忽略了什么。或者可能有其他解决办法

我一直在尝试将Python中常用的库安装到一台新的笔记本电脑上。我使用的是mac OS版本10.9.3和Python 2.7

我安装了Xcode,Homebrew。不知怎的,Homebrew从一开始就显示错误。。通常我会安装ruby-e$curl-fsSL。这个力不起作用。但是找到了一个替代方案,现在我安装了gcc。我的usr/local/bin中安装了gcc和gfortan。这意味着我为scipy准备了gcc fortan

你们能告诉我我做错了什么吗?也许我忽略了什么。或者可能有其他解决办法

干杯
Meenu

我找到的唯一解决方案是安装macport并重新开始。。它确实起到了临时解决办法的作用。但我没有在这方面尝试VirtualNVS。但是使用macport我有我想要使用的所有科学软件包

希望这有帮助

**Python 2.7.5 (default, Mar  9 2014, 22:15:05) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> importscipy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'importscipy' is not defined
>>> import scipy
>>> exit()
datlma:~ mkamalakshan$ cd Documents/DataScience/Projects/
datlma:Projects m$ workon Test
(Test)datlmeenuka:Projects mkamalakshan$ python
Python 2.7.5 (default, Mar  9 2014, 22:15:05) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> import scipy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named scipy**
>>> exit()
(Test)datlmeenuka:Projects mkamalakshan$ pip freeze
numpy==1.8.1
wsgiref==0.1.2
(Test)datlmeenuka:Projects mkamalakshan$ pip install scipy
Downloading/unpacking scipy
  Downloading scipy-0.14.0.tar.gz (10.2MB): 10.2MB downloaded
  Running setup.py (path:/Users/mkamalakshan/.virtualenvs/Test/build/scipy/setup.py)        
 .
 .
 .
 .
 .
 .
 .
 customize PGroupFCompiler
Could not locate executable pgfortran
don't know how to compile Fortran code on platform 'posix'
building 'dfftpack' library
error: library dfftpack has Fortran sources but no Fortran compiler found