christophertbrown / fix_assembly_errors

script for fixing assembly scaffolding errors
GNU General Public License v2.0
5 stars 3 forks source link

ModuleNotFoundError: No module named 'ctbBio' #2

Open jaybake5 opened 4 years ago

jaybake5 commented 4 years ago

Hello, I am trying to get ra2.py up and running and I have installed the dependencies. When I try to execute the command however, I get the following message:

$ python ra2.py -h
Traceback (most recent call last):
  File "ra2.py", line 31, in <module>
    import ctbBio.mapped as map_tool
ModuleNotFoundError: No module named 'ctbBio'

I have already also installed your ctbBio repo with pip install ctbBio, but I'm not sure if I need to do some other step so that ra2.py can access it... Any help you could provide would be greatly appreciated, thanks!

christophertbrown commented 4 years ago

Hi Jonathon,

Sounds like you may have an issue with different versions of python looking for packages in different places. If you have not done so already, I highly recommend using pyenv to install and manage python versions. Hope that helps!

https://github.com/pyenv/pyenv

Chris

On Mar 25, 2020, at 10:34 PM, Jonathon L. Baker notifications@github.com wrote:

 Hello, I am trying to get ra2.py up and running and I have installed the dependencies. When I try to execute the command however, I get the following message:

$ python ra2.py -h Traceback (most recent call last): File "ra2.py", line 31, in import ctbBio.mapped as map_tool ModuleNotFoundError: No module named 'ctbBio' I have already also installed your ctbBio repo with pip install ctbBio, but I'm not sure if I need to do some other step so that ra2.py can access it... Any help you could provide would be greatly appreciated, thanks!

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