kwikteam / klusta

Automatic spike sorting up to 64 channels
BSD 3-Clause "New" or "Revised" License
54 stars 40 forks source link

Installation does not work with python 3.8 #64

Closed TRuikes closed 3 years ago

TRuikes commented 4 years ago

When running conda env create -f environment.yml I got the error:

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

thisisbagas commented 4 years ago

i have the same problem, running on anaconda environment. it showed "error: command 'gcc' failed with exit status 1" when installing klustakwik2 with pip