-
Notifications
You must be signed in to change notification settings - Fork 28
Description
I'm having issues installing MuPeXI as it seems that Python 2.7 support has depreciated such that Biopython requires Python 3.6 or later.
Commands used:
conda create --name mupexi python=2.7
conda activate mupexi
pip install biopython
Error message:
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting biopython
Using cached https://files.pythonhosted.org/packages/3d/2f/d9df24de05d651c5e686ee8fea3afe3985c03ef9ca02f4cc1e7ea10aa31e/biopython-1.77.tar.gz
ERROR: Command errored out with exit status 1:
command: /home/ubuntu/anaconda3/envs/mupexi/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-d0k_pY/biopython/setup.py'"'"'; file='"'"'/tmp/pip-install-d0k_pY/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-install-d0k_pY/biopython/pip-egg-info
cwd: /tmp/pip-install-d0k_pY/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.