christophertbrown / iRep

scripts for estimating bacteria replication rates based on population genome copy number variation
MIT License
68 stars 9 forks source link

bPTR - ImportError for 'iRep.gc_skew' #18

Closed gerners closed 6 years ago

gerners commented 6 years ago

Hi,

When installing the current iRep version 1.1.9 both via pip or pip and setup.py, bPTR dies with the following error:

Traceback (most recent call last):
  File "/usr/local/bin/bPTR", line 32, in <module>
    from iRep.gc_skew import gc_skew as gc_skew
ImportError: No module named 'iRep.gc_skew'

The iRep executable itself as well as the gc_skew executable work fine and without any errors. Could there be a missing file for the installation or something similar?

Best, Samuel

christophertbrown commented 6 years ago

Hi Samuel,

Sorry about this error.

This should be resolved in the latest version of iRep on GitHub and PyPi.

You should be able to run pip install iRep --upgrade to get the latest version with the fix. Should be iRep-1.1.12.

Let me know if you are still having any problems.

Chris

On Dec 14, 2017, at 6:22 AM, gerners notifications@github.com wrote:

Hi,

When installing the current iRep version 1.1.9 both via pip or pip and setup.py, bPTR dies with the following error:

Traceback (most recent call last): File "/usr/local/bin/bPTR", line 32, in from iRep.gc_skew import gc_skew as gc_skew ImportError: No module named 'iRep.gc_skew'

The iRep executable itself as well as the gc_skew executable work fine and without any errors. Could there be a missing file for the installation or something similar?

Best, Samuel

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

gerners commented 6 years ago

All working now, thanks!

Best, Samuel