[Numpy-discussion] install without admin rights

Matthieu Brucher matthieu.brucher at gmail.com
Mon Oct 6 05:26:27 EDT 2008


Hi again,

That's because Python 2.3 is not supported by numpy 1.2 anymore (see
the release notes) :|
Try installing a Python 2.5 locally, as with numpy.

Matthieu

2008/10/6 Roeland Huys <roeland at huysmus.be>:
> Thanks!
>
> Unfortunately, I got following error:
>
>>>> import numpy
> Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
>  File
> "/imec/other/neuray2/lib64/python2.3/site-packages/numpy/__init__.py",
> line 125, in ?
>    import add_newdocs
>  File
> "/imec/other/neuray2/lib64/python2.3/site-packages/numpy/add_newdocs.py",
> line 9, in ?
>    from lib import add_newdoc
>  File
> "/imec/other/neuray2/lib64/python2.3/site-packages/numpy/lib/__init__.py",
> line 22, in ?
>    from arrayterator import *
>  File "numpy/lib/arrayterator.py", line 89
>    slice_ = tuple(slice(*t) for t in zip(
>                               ^
> SyntaxError: invalid syntax
>
>
> I have python 2.3 installed on the server.
>
> Thanks,
>
> Roeland
>
>
>
>
>
>
> On Mon, October 6, 2008 10:27 am, Stéfan van der Walt wrote:
>> Hi Roeland
>>
>> 2008/10/6 Roeland Huys <roeland at huysmus.be>:
>>> tar -xvzf numpy-1.2.0.tar.gz   [OK]
>>> cd numpy-1.2.0
>>> python setup.py build   [OK]
>>
>> python setup.py install --prefix=${HOME}
>>
>>> set PYTHONPATH=$HOME/pythonlib
>>
>> export PYTHONPATH=${HOME}/lib/python2.5/site-packages
>>
>> Cheers
>> Stéfan
>> _______________________________________________
>> Numpy-discussion mailing list
>> Numpy-discussion at scipy.org
>> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>>
>
>
> --
> ------------------------------------
> Roeland Huys
> http://www.huysmus.be
>
> http://en.nothingisreal.com/wiki/Please_don't_send_me_Microsoft_Word_documents
> http://badvista.fsf.org/
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>



-- 
Information System Engineer, PhD
Website: http://matthieu-brucher.developpez.com/
Blogs: http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn: http://www.linkedin.com/in/matthieubrucher



More information about the NumPy-Discussion mailing list