tleonardi / nanocompore

RNA modifications detection from Nanopore dRNA-Seq data
https://nanocompore.rna.rocks
GNU General Public License v3.0
78 stars 12 forks source link

importing error in pyhton API #144

Closed aman21392 closed 4 years ago

aman21392 commented 4 years ago

aclab@aclab-HP-Z4-G4-Workstation:~$ python Python 3.7.6 (default, Jan 8 2020, 19:59:22) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information.

from nanocompore.SampCompDB import SampCompDB, jhelp Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'nanocompore'

from nanocompore.SampCompDB import SampCompDB Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'nanocompore'

I want to import SampCompDB but it gives error please help me to solve this issue.

a-slide commented 4 years ago

Hi @aman21392 It's hard to help you with more information. It just looks like the package is not installed in the virtual environment you are trying to import it from .

aman21392 commented 4 years ago

Hi @a-slide so when we install with pip it not going into virtual environment. It means we have to create first virtual environment for this. If yes, then please suggest me to how to do this if possible. Thank you in advance

a-slide commented 4 years ago

It will go to the virtual env if you activate your env first and then run pip

a-slide commented 4 years ago

I will close this as this is not an issue related to Nanocompore