a-slide / pycoQC

pycoQC computes metrics and generates Interactive QC plots from the sequencing summary report generated by Oxford Nanopore technologies basecaller (Albacore/Guppy)
https://a-slide.github.io/pycoQC/
GNU General Public License v3.0
258 stars 41 forks source link

No module #101

Closed Tdanis closed 4 years ago

Tdanis commented 4 years ago

Hi, could you suggest me please any solution for this,

Traceback (most recent call last): File "pycoQC.py", line 11, in from pycoQC.common import File "/home/..../pycoQC/pycoQC.py", line 11, in from pycoQC.common import ImportError: No module named 'pycoQC.common'; 'pycoQC' is not a package

Thank you

a-slide commented 4 years ago

I will need more information I you want me to help. Could you please use the issue submission template ?

a-slide commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Tdanis commented 4 years ago

Installation "pip3 install pycoQC" in cluster with linux 16.04, after that everything is ok.

My command is:

:~/Software/pycoQC$ cd pycoQC :~/Software/pycoQC/pycoQC$ ls Barcode_split.py main.py pycoQC.py pycoQC_report.py Fast5_to_seq_summary.py pycache pycoQC_parse.py templates init.py common.py pycoQC_plot.py

:~/Software/pycoQC/pycoQC$ python3 pycoQC.py Traceback (most recent call last): File "pycoQC.py", line 11, in from pycoQC.common import File "/home1/tdanis/Software/pycoQC/pycoQC/pycoQC.py", line 11, in from pycoQC.common import ImportError: No module named 'pycoQC.common'; 'pycoQC' is not a package

a-slide commented 4 years ago

I am not sure I understand what happen, but it is clearly not an error due to pycoQC. I have the impression that this is something to do with either your installation environment. Could you retry using a virtual environment as suggested in the installation documentation ?

Tdanis commented 4 years ago

Yes yes thank you, I will try

a-slide commented 4 years ago

It has been nearly a month. I assume it is fixed now