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
271 stars 41 forks source link

pip installation doesn't work #146

Open KristinaGagalova opened 11 months ago

KristinaGagalova commented 11 months ago

Hi,

I am having the following error when installing the tool:

$pip install git+https://github.com/a-slide/pycoQC.git
Collecting git+https://github.com/a-slide/pycoQC.git
  Cloning https://github.com/a-slide/pycoQC.git to /localData/000scratch/pip-req-build-eziog0hw
  Running command git clone -q https://github.com/a-slide/pycoQC.git /localData/000scratch/pip-req-build-eziog0hw
    ERROR: Command errored out with exit status 1:
     command: /home/me/.conda/envs/pycoQC/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/localData/000scratch/pip-req-build-eziog0hw/setup.py'"'"'; __file__='"'"'/localData/000scratch/pip-req-build-eziog0hw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /localData/000scratch/pip-req-build-eziog0hw/pip-egg-info
         cwd: /localData/000scratch/pip-req-build-eziog0hw/
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/localData/000scratch/pip-req-build-eziog0hw/setup.py", line 8, in <module>
        long_description = fh.read()
      File "/home/curtin_kristinag/.conda/envs/pycoQC/lib/python3.6/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 4994: ordinal not in range(128)
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I run it on my HPC cluster, inside the conda environment. I installed it as you describe in the installation instructions here. Do you have any suggestions?

I tried the following but it doesn't work

export LC_ALL=C
$pip install git+https://github.com/a-slide/pycoQC.git

Thank you in advance