oschwengers / platon

Identification & characterization of bacterial plasmid-borne contigs from short-read draft assemblies.
https://doi.org/10.1099/mgen.0.000398
GNU General Public License v3.0
108 stars 15 forks source link

Error: No module named 'platon.platon' #21

Closed androga2 closed 3 years ago

androga2 commented 3 years ago

Hi,

Thank you so much for Platon software!

The installation of program was successful, I followed these steps:

$ conda install -c conda-forge -c bioconda -c defaults platon

$ python3 -m pip install --user platon

But, when I run the program, I get this error:

$ platon
Traceback (most recent call last):
  File "/home/life/miniconda3/bin/platon", line 6, in <module>
    from platon.platon import main
ModuleNotFoundError: No module named 'platon.platon'

How can I fix this bug?

Cheers

Andrea

oschwengers commented 3 years ago

Hi, you do not need to install the software via Conda and Pip - it's either or, one is sufficient but Conda is the most convenient solution.

However, there was a typo in the readme regarding the PyPI path. For namespace reasons it's cb-platon instead of platon. This is fixed now (https://github.com/oschwengers/platon/commit/7671045ca493679787a8d50d6508a15ccb3b7021). Thanks for pointing out.

The issue should be solved by this. Just in case it remains, please do not hesitate to re-open it. Best regards!