[Numpy-discussion] numpy1.6.1 install fortran compiler error

Charles R Harris charlesr.harris at gmail.com
Tue Dec 20 21:19:23 EST 2011


On Tue, Dec 20, 2011 at 3:16 PM, Jack Bryan <dtustudy68 at hotmail.com> wrote:

>  Hi,
> I have set up PYTHONPATH :
>
> >>> sys.path
> ['', '/mypath/numpy/lib/python2.7/site-packages', '/ mypath/python272/lib/python27.zip',
> '/ mypath/python272/lib/python2.7', '/ mypath/python272/lib/python2.7/plat-linux2',
> '/ mypath /python272/lib/python2.7/lib-tk', '/ mypath/python272/lib/python2.7/lib-old',
> '/ mypath /python272/lib/python2.7/lib-dynload', '/ mypath
> /python272/lib/python2.7/site-packages']
>
> But still errors:
>
> >>> import numpy
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "numpy/__init__.py", line 153, in <module>
>     import polynomial
>   File "numpy/polynomial/__init__.py", line 18, in <module>
>     from polynomial import Polynomial
>   File "numpy/polynomial/polynomial.py", line 60, in <module>
>     from polytemplate import polytemplate
> ImportError: cannot import name polytemplate
>
> Any help is appreciated.
>
>
Strange. Is polytemplate.py present in <your
installation>/lib/python2.7/site-packages/numpy/polynomial/ ?

You might try deleting the current numpy installation and build directory,
then rebuilding and reinstalling. But I suspect something strange is going
on with the paths.

BTW, it is usual on the list to bottom post rather than top post, that is,
your reply should be located under the previous replies.

<snip>

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20111220/c70d7e39/attachment.html>


More information about the NumPy-Discussion mailing list