[BioPython] bio.pdb.mmcif does not exist

Jean Lechner jean.lechner at gmail.com
Wed May 9 08:10:46 EDT 2007


Hi Peter
Thank you for answering

I m using MacOS X
And I have installed BioPython(version 1,43) following the steps
listed on biopython.org website
I have installed flex and the directory has been created.
But when I try tu use the MMCIF2Dict this error stay :
 "ImportError: No module named mmCIF.MMCIFlex"

When I look in the Bio.PDB.mmCIF folder, MMCIFlex is here but it is a
MMCIFlex.so
and there is no __init__.py file

So I don t know what to do now ...

If you have any Idea please answer me

Jean


2007/5/9, Peter <biopython at maubp.freeserve.co.uk>:
> Jean Lechner wrote:
> > Hello
> >
> >
> > I have installed Biopython without any problems but when I try tu use
> > the mmcif parser or the mmcif2dict, I have a error saying the mmcif
> > package does not exist.
> >
> > How can I install this package ?
>
> Hi Jean,
>
> Are you using Windows, Linux, MacOS, other?
> How did you install Biopython? (and out of interest, which version?)
>
> As you can read on the download page, you will need flex (The Fast
> Lexical Analyzer) to compile the Bio.PDB.mmCIF.MMCIFlex module. On Linux
> (and other Unix like systems) this is actually very straight forward.
> This may be the same issue here...
>
> Peter
>


More information about the BioPython mailing list