haotianteng / Chiron

A basecaller for Oxford Nanopore Technologies' sequencers
Other
122 stars 53 forks source link

Biopython incompatible while installing Chiron using PIP #112

Closed Saranya-nanobiophotonics-lab closed 2 years ago

Saranya-nanobiophotonics-lab commented 2 years ago

Describe the bug I had created a virtual environment with python version 2.7. But, when I try to install Chiron using pip command, I get the following error "ERROR: Command errored out with exit status 1: command: /home/saranya/work/TelN/analysis/virtual_environment/chiron/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-Dw45yE/biopython/setup.py'"'"'; file='"'"'/tmp/pip-install-Dw45yE/biopython/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 /tmp/pip-pip-egg-info-_fxEjm cwd: /tmp/pip-install-Dw45yE/biopython/ Complete output (1 lines): Biopython requires Python 3.6 or later. Python 2.7 detected.

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Screenshots Screenshot 2022-05-10 at 3 31 02 PM

Environment (please complete the following information):

haotianteng commented 2 years ago

conda create -n YOUR_ENVIRONMENT_NAME python=3.6 conda activate YOUR_ENVIRONMENT_NAME pip install chiron