[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:
> 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
> 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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion