[Numpy-discussion] Install error for numpy 1.6

lgautier lgautier at gmail.com
Mon Jun 13 15:02:22 EDT 2011



On Jun 13, 1:08 pm, Scott Sinclair <scott.sinclair.za at gmail.com>
wrote:
> On 12 June 2011 21:08, Ralf Gommers <ralf.gommers at googlemail.com> wrote:
>
>
>
>
>
>
>
>
>
>
>
> > On Sun, Jun 12, 2011 at 9:00 PM, Laurent Gautier <lgautier at gmail.com> wrote:
>
> >> I did not find the following problem reported.
>
> >> When trying to install Numpy 1.6 with Python 2.7.1+ (r271:86832), gcc
> >> 4.5.2, and pip 1.0.1 (through a virtualenv 1.4.2 Python) it fails fails
> >> with:
>
> >>       File "/usr/lib/python2.7/distutils/command/config.py", line 103,
> >> in _check_compiler
> >>         customize_compiler(self.compiler)
> >>       File "/usr/lib/python2.7/distutils/ccompiler.py", line 44, in
> >> customize_compiler
> >>         cpp = cc + " -E"           # not always
> >>     TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
> >>     Complete output from command python setup.py egg_info:
> >>     Running from numpy source directory.non-existing path in
> >> 'numpy/distutils': 'site.cfg'
>
> > Looks like a new one. Does a normal "python setup.py" in your activated
> > virtualenv work? If not, something is wrong in your environment. If it does
> > work, you have your workaround.
>
> Seehttp://mail.scipy.org/pipermail/numpy-discussion/2011-June/056544.html
> for a workaround (at least to get "python setup.py install" working, I
> haven't tried with pip/easy_install etc..)


Thanks.
I ended up compiling/installing a separate Python instance.


L.


>
> Cheers,
> Scott
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.orghttp://mail.scipy.org/mailman/listinfo/numpy-discussion



More information about the NumPy-Discussion mailing list