chemosim-lab / ProLIF

Interaction Fingerprints for protein-ligand complexes and more
https://prolif.readthedocs.io
Apache License 2.0
336 stars 66 forks source link

Error import prolif #162

Closed groponp closed 9 months ago

groponp commented 9 months ago

I'm try test if prolif are right install then get this error after do "import prolif"

raceback (most recent call last): File "", line 1, in File "/Users/macbookpro/Downloads/prolif.py", line 5, in u = mda.Universe(plf.datafiles.TOP, plf.datafiles.TRAJ) AttributeError: partially initialized module 'prolif' has no attribute 'datafiles' (most likely due to a circular import)

cbouy commented 9 months ago

Hi,

You have to name your Python script something else than the name of the package that you import (this stands for any package, not just prolif)

groponp commented 9 months ago

ok, It work for me. Thanks so much.