[Numpy-discussion] AttributeError in numpy.distutils

Ralf Gommers ralf.gommers at googlemail.com
Sun May 22 07:17:55 EDT 2011


On Thu, May 19, 2011 at 8:28 PM, Branimir Sesar <bsesar at astro.caltech.edu>wrote:

> Dear Numpy users,
>
> I've encountered an AttributeError in numpy.distutils
>
>   File
>
> "/home/bsesar/usr/pydebug/lib/python2.7/site-packages/numpy/distutils/command/build_src.py",
> line 646, in swig_sources
>     extension.swig_opts.remove('-c++')
> AttributeError: 'str' object has no attribute 'remove'
>
> while compiling some code with Python 2.7.1 and Numpy 1.6.0.
>

What are you doing here, compiling numpy? Building some of your own swig-ed
code? Please give the details needed to reproduce your issue.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110522/d2024a72/attachment.html>


More information about the NumPy-Discussion mailing list