On Wed, Feb 8, 2012 at 10:17 AM, Lucia AvOlocc <[email protected]>wrote:
> Hi,
> I installed numpy and pysparse from source:
>
> $ python -c "import numpy; print numpy.__version__"
> 1.6.1
> $ python -c "import pysparse; print pysparse.__version__"
> 1.2-dev224
> $ python -c "import PyTrilinos; print PyTrilinos.version()"
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> ImportError: No module named PyTrilinos
>
> I do not install PyTrilinos because I am not running in parallel.
>
Exactly. You don't need it. Everything looks good as far as version numbers.
> >>> import matplotlib
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named matplotlib
> >>>
>
Let's put matplotlib to the side for now. I want to figure out why the
"python setup.py install" of fipy is not working. To be clear, when you try
to install fipy you get
$ sudo python setup.py install
...
line 11, in <module>
import numpy.core.numeric as NX
AttributeError: 'module' object has no attribute 'core'
What happens when you do the following
$ python -c "import numpy.core.numeric as NX; print NX"
--
Daniel Wheeler
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
[ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]