data_efficient_grammar icon indicating copy to clipboard operation
data_efficient_grammar copied to clipboard

Having problems with environment.yml

Open orgw opened this issue 2 years ago • 1 comments

Hi! Thanks for the code . I'm having issues with the environment

error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /home/********/anaconda3/envs/DEG2/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1szh297k/torch-sparse_dfcc41865d254db5ace139557449ac53/setup.py'"'"'; file='"'"'/tmp/pip-install-1szh297k/torch-sparse_dfcc41865d254db5ace139557449ac53/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-488ahuy4/install-record.txt --single-version-externally-managed --compile --install-headers /home/kiwoong/anaconda3/envs/DEG2/include/python3.6m/torch-sparse Check the logs for full command output. / failed

CondaEnvException: Pip failed

pytorch geometric doesn't seem to work

orgw avatar Apr 26 '22 01:04 orgw

Have you installed build-essential package? Verify the version of your gcc.

I was able to install the environment with gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0.

masterdezign avatar May 05 '22 13:05 masterdezign