That script (check.py) swallows the actual exception, and just running python and then trying “import ccpnmr” might be more informative (but it might not be!).
Wayne
> On 5 Sep 2016, at 13:26, Edith Gincel <[log in to unmask]> wrote:
>
> apparently, there is a more basic problem...
> $ > python check.py
> Checking Python environment...
>
> Python version ok.
> Numpy module ok (numpy)
> Tkinter and Tix modules...
> Tkinter imported (Tk version 8.500)
> Tix imported.
>
> CCPN distribution:
> Could not import the following modules: ccpnmr, ccpnmr.format, ccpnmr.analysis
> This does not matter, as long as you do not intend to use the CCPN data model. Otherwise, please make sure that the environment variables CCPNMR_TOP_DIR and PYTHONPATH are set correctly.
>
> and as I said, the path are OK...
> apparently, it is more in the ARIA side....
>
> thanks for your help anyway....
>
>> Yes, that means it should definitely find it. So something else is going wrong. With the environment set as you have now done, you could just start up the python >that Aria is using and try at the Python prompt:
>
>>>> import ccpnmr
>>>> import ccpnmr.format
>>>> import ccpnmr.format.general
>>>> import ccpnmr.format.general.userInteraction
>>>> from ccpnmr.format.general.userInteraction import setupMultiDialog
>
>> And see where it first fails. It should definitely fail at the last one.
>
>> One other possibility (related to the above). Is there a ccpnmr directory located in any of the directories mentioned before ~/Desktop/logiciels/ccpnmr/ccpnmr2.4 >/python in sys.path? That could also cause this kind of error (so if it’s not a complete copy of what is in ~/Desktop/logiciels/ccpnmr/ccpnmr2.4/python/ccpnmr).
>
>> Wayne
|