Hello,
This has been reported a few times. The import works ok from inside Analysis if you do not open Aria, so there must be something that Aria adds to the path which then knackers numpy. I guess you could try importing numpy (at the Python prompt) before opening up Aria. (But something else might be knackered as well.)
Wayne
> On 15 Jan 2016, at 17:26, Karthik Rajasekar <[log in to unmask]> wrote:
>
> Hi all,
> I have installed aria and ccpnmr on a fedora machine. Analysis crashes when I open aria. Error says cannot find numpy - but I am able to import it in python - see below. Could anyone help please?
>
> [karthik@bioch ~]$ python
> Python 2.7.10 (default, Sep 8 2015, 17:20:17)
> [GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import numpy
>>>> import Numeric
>>>> import scipy
>
> all is fine!
> however in analysis
>
>>>> import numpy
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/home/karthik/Progs/ccpnmr/python2.7/lib/python2.7/site-packages/numpy/__init__.py", line 170, in <module>
> from . import add_newdocs
> File "/home/karthik/Progs/ccpnmr/python2.7/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
> from numpy.lib import add_newdoc
> File "/home/karthik/Progs/ccpnmr/python2.7/lib/python2.7/site-packages/numpy/lib/__init__.py", line 17, in <module>
> from numpy.lib import scimath as emath
> ImportError: cannot import name scimath
>
>
> Many thanks,
> Karthik
|