Hello,
I just realised there might be another issue. Also check that your
PYTHONPATH in ccpnmr/bin/analysis has included the elementTree directory
(it is supposed to be done by the installation script but I wonder if that
has gone wrong). So, for example, my script says:
export PYTHONPATH=.:$CCPNMR_TOP_DIR/ccpnmr2.0/python:/Users/wb104/elementtree-1.2.6-20050316
Wayne
On Thu, 14 Aug 2008, Wayne Boucher wrote:
> Hello,
>
> This means that you have Python 2.4 and so need to install ElementTree
> (there is a link on the download page). (With Python 2.5 it comes for
> free.) We use this to parse the XML files (in the old days we had our own
> parser, courtesy of Rasmus, but it was decided it was better to go with a
> standard.)
>
> Wayne
>
> On Thu, 14 Aug 2008, Ben Goult wrote:
>
> > Hello,
> >
> > I have installed the alpha v2 release and installation seemed to go OK, I
> > checked for updates as you described and there were not any.
> >
> > However, when I launch Analysis it fails and I get the following error
> >
> > Traceback (most recent call last):
> > File "/data/prog/ccpnmr/ccpnmr2.0/python/ccpnmr/analysis/AnalysisGui.py",
> > line 70, in ?
> > from memops.general.Io import loadProject
> > File "/data/prog/ccpnmr/ccpnmr2.0/python/memops/general/Io.py", line 72, in ?
> > from memops.format.xml import XmlIO
> > File "/data/prog/ccpnmr/ccpnmr2.0/python/memops/format/xml/XmlIO.py", line
> > 136 , in ?
> > from memops.api import Implementation as ImplementationApi
> > File "/data/prog/ccpnmr/ccpnmr2.0/python/memops/api/Implementation.py",
> > line 7 8, in ?
> > from memops.metamodel import XmlModelIo
> > File "/data/prog/ccpnmr/ccpnmr2.0/python/memops/metamodel/XmlModelIo.py",
> > line 33, in ?
> > from memops.universal.ElementTree import ElementTree
> > File "/data/prog/ccpnmr/ccpnmr2.0/python/memops/universal/ElementTree.py",
> > lin e 11, in ?
> > from elementtree import ElementTree # effbot's pure Python module
> > ImportError: No module named elementtree
> >
> > Any ideas how I can fix this?
> >
> > Cheers
> >
> > Ben
> >
>
|