Hi,

I have the following ports installed and I setup virtualenv correctly.

sudo port -v install python27
port select python python27

sudo port install py27-pip
sudo port install py27-virtualenv
sudo port install py27-virtualenvwrapper

But when I install a package within a virtual environment, I have to
explicit specify the compiler as the following. Otherwise clang or
clang++ will be used and the installation will yield error. Is it
because macports was compiled by clang and clang++. Is there a way to
that pip use g++/gcc as the default?

CXX=g++ CC=gcc FFLAGS=-ff2c pip install scipy


-- 
Regards,
Peng
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to