Closed TRuikes closed 3 years ago
When running conda env create -f environment.yml I got the error:
conda env create -f environment.yml
error: command 'gcc' failed with exit status 1 ----------------------------------------
ERROR: Command errored out with exit status 1: /data/conda/envs/klusta/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-74lyaoqt/klustakwik2/setup.py'"'"'; file='"'"'/tmp/pip-install-74lyaoqt/klustakwik2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-5l16j9o3/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
Specifying the python version in the .yml to 3.5 fixed the problem: -python=3.5
i have the same problem, running on anaconda environment. it showed "error: command 'gcc' failed with exit status 1" when installing klustakwik2 with pip
When running
conda env create -f environment.yml
I got the error:ERROR: Command errored out with exit status 1: /data/conda/envs/klusta/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-74lyaoqt/klustakwik2/setup.py'"'"'; file='"'"'/tmp/pip-install-74lyaoqt/klustakwik2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-5l16j9o3/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
Specifying the python version in the .yml to 3.5 fixed the problem: -python=3.5