JJ / 2021-cec-deep-g-prop

Deep-G-Prop for the new edition of CEC in 2021
GNU General Public License v3.0
1 stars 1 forks source link

[Code] Error running `dgp` #11

Closed JJ closed 3 years ago

JJ commented 3 years ago

I get this error after following instructions in the README and trying to run it

ImportError: Version check of the existing lazylinker compiled file. Looking for version 0.211, but found None. Extra debug information: force_compile=False, _need_reload=True
...
relocation R_X86_64_PC32 against symbol `PyFloat_Type' can not be used when making a shared object; recompile con -fPIC.

No idea what it means.

JJ commented 3 years ago

This might be the key. Apparently it works only up to version 3.7.

JJ commented 3 years ago

No, no cigar. does not work with 3.7.9 either:

Exception: Compilation failed (return status=1): /usr/bin/ld: /home/jmerelo/.pyenv/versions/3.7.9/lib/libpython3.7m.a(abstract.o): relocation R_X86_64_PC32 against symbol `_Py_NotImplementedStruct' can not be used when making a shared object; recompile con -fPIC. /usr/bin/ld: falló el enlace final: bad value. collect2: error: ld returned 1 exit status. 
JJ commented 3 years ago

Pyenv does not seem to work well with this due to this

JJ commented 3 years ago

OK solution here