gamcil / clinker

Gene cluster comparison figure generator
MIT License
518 stars 69 forks source link

pip install clinker - ERROR: Command errored out with exit status 1 #20

Closed mafeeney closed 3 years ago

mafeeney commented 3 years ago

Hello,

I tried using pip install clinker as described in the installation instructions - but had a long error message, ending with:

ERROR: Command errored out with exit status 1: 'c:\users\trb18198\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\trb18198\AppData\Local\Temp\pip-install-_rw5tr0s\biopython\setup.py'"'"'; file='"'"'C:\Users\trb18198\AppData\Local\Temp\pip-install-_rw5tr0s\biopython\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\trb18198\AppData\Local\Temp\pip-record-oxf1pagw\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\trb18198\appdata\local\programs\python\python39\Include\biopython' Check the logs for full command output.

This bit is highlighted in white in the error message (so it may be important?) ERROR: Failed building wheel for biopython Running setup.py clean for biopython Failed to build biopython Installing collected packages: biopython, clinker Running setup.py install for biopython ... error

I am not quite sure what I've done wrong....?

mafeeney commented 3 years ago

Managed to solve the problem by getting conda to install biopython (instead of letting pip manage it) - still baffled as to why this should be the case, but at least it's worked now!

gamcil commented 3 years ago

Glad you got it sorted! I've heard some people have had issues with installing biopython, but that's a weird one.