question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error installing via pip

See original GitHub issue

Hello, I am having issues installing pepper via pip on an HPC platform running CentOS 7.7. Note that I do not have admin privileges.

This is the installation command I run (my_root) suryamok@nl001:~/GenomeAssemblyPipeline % python3 -m pip install --user pepper-polish

While it downloads all the requisite files, it is killed at the last step -

  Using cached https://files.pythonhosted.org/packages/91/ed/1044b74956faf3fda73bffaa8223e5d40a549fc360799128fb6ecc9c8428/pepper_polish-0.1.1.tar.gz
Collecting h5py==2.10.0 (from pepper-polish)
  Using cached https://files.pythonhosted.org/packages/3f/c0/abde58b837e066bca19a3f7332d9d0493521d7dd6b48248451a9e3fe2214/h5py-2.10.0-cp37-cp37m-manylinux1_x86_64.whl
Collecting tqdm==4.38.0 (from pepper-polish)
  Using cached https://files.pythonhosted.org/packages/b9/08/8505f192efc72bfafec79655e1d8351d219e2b80b0dec4ae71f50934c17a/tqdm-4.38.0-py2.py3-none-any.whl
Collecting numpy==1.16.6 (from pepper-polish)
  Using cached https://files.pythonhosted.org/packages/17/06/337132f52ae41fca603473f44f4ea100eb030e096da0ea38563a74f63872/numpy-1.16.6-cp37-cp37m-manylinux1_x86_64.whl
Collecting wget==3.2 (from pepper-polish)
  Using cached https://files.pythonhosted.org/packages/47/6a/62e288da7bcda82b935ff0c6cfe542970f04e29c756b0e147251b2fb251f/wget-3.2.zip
Collecting torch==1.4.0 (from pepper-polish)
  Downloading https://files.pythonhosted.org/packages/1a/3b/fa92ece1e58a6a48ec598bab327f39d69808133e5b2fb33002ca754e381e/torch-1.4.0-cp37-cp37m-manylinux1_x86_64.whl (753.4MB)
    99% |████████████████████████████████| 753.4MB 27.7MB/s eta 0:00:01Killed

I would appreciate your help in looking into this.

P.S - I tried installing from source but I think I am missing virtualenv

(my_root) suryamok@nl001:~/GenomeAssemblyPipeline/pepper % make install
test -d venv || virtualenv venv --python=python3 --prompt "(pepper) "
Running virtualenv with interpreter /gstore/apps/Python/3.7.3-GCCcore-6.3.0-bare/bin/python3
/gstore/apps/Python/3.7.3-GCCcore-6.3.0-bare/bin/python3: can't find '__main__' module in '/gstore/apps/Python/3.7.3-GCCcore-6.3.0-bare/lib/python3.7/site-packages/virtualenv-16.6.1-py3.7.egg'
make: *** [Makefile:5: venv/bin/activate] Error 1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
kushalsuryamohancommented, Oct 30, 2020

Working on this - will update as soon as I have results.

1reaction
kushalsuryamohancommented, Oct 21, 2020

Hi @kishwarshafin, interesting observation about RACON. I currently have an assembly that’s generated using the following workflow:

  1. Generate long-read draft assembly (Canu)
  2. Polish genome using Illumina data from same animal (PILON) - Typically, I’ve polished 4-5x to improve base call error rates
  3. Hi-C for scaffolding.

However, when annotating the genome, I still find regions of the genome that were not fixed using Illumina data alone and this is not good for gene finding (especially since base call errors could lead to erroneous stop codons inside genes). So, I was planning on using the assembly from (3) as the reference to work through the PEPPER pipeline. Please advice if this is suitable. Much appreciated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error found when installing pip on Windows - Stack Overflow
Download get-pip.py to a folder on your computer. Open a command prompt window and navigate to the folder containing get-pip.py. Then run python...
Read more >
How to Install Pip on Windows - ActiveState
One of the most common problems with running Python tools like pip is the “not on PATH” error. This means that Python cannot...
Read more >
pip install error - python - Ask Ubuntu
You are installing pip with sudo but its using your user's home folder's python staging area. This can cause issues later on where...
Read more >
How to install modules with PIP (and fix it when it fails) - Medium
First make sure that you have installed Python.​​ The main way to do this is to go to PyPi and search for your...
Read more >
How to Fix 'Pip' is Not Recognized as an Internal or External ...
This error usually means there's a problem with the Python installation or the system variable PATH is not set up correctly. Try reinstalling ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found