[Twisted-Python] trouble installing 18.9.0

I've been trying to install the latest Twisted 18.9.0 with pip install, (using Oracle LInux 7.4), but I'm getting compilation errors. The first one was: src/twisted/test/raiser.c:4:20: fatal error: Python.h: No such file or directory #include "Python.h" I was able to work around that, but now I"m getting this error: gcc -pthread -shared -Wl,-z,relro -g -L ./python3.6m build/temp.linux-x86_64-3.6/src/twisted/test/raiser.o -L/usr/lib64 *-lpython3.6m* -o build/lib.linux-x86_64-3.6/twisted/test/ raiser.cpython-36m-x86_64-linux-gnu.so * /etc/alternatives/ld: cannot find -lpython3.6m* collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1 Since the compile is under the control of all the install scripts, I can't determine where the linker is looking for "python36m". Any help would be much appreciated!

On 2019-02-05 16:26, Joe Smongeski wrote:
This is usually addressed by installing a python3-dev package, or similar. What did you do?
The all caps `PYTHON3.6M` and `/ETC/ALTERNATIVES/LD: CANNOT FIND -LPYTHON3.6M` seem pretty weird to me. It might be helpful to share a full transcript (prompts, commands, output) of the installation (including creating a virtualenv or venv, etc) Cheers, -kyle

On 2019-02-05 16:26, Joe Smongeski wrote:
This is usually addressed by installing a python3-dev package, or similar. What did you do?
The all caps `PYTHON3.6M` and `/ETC/ALTERNATIVES/LD: CANNOT FIND -LPYTHON3.6M` seem pretty weird to me. It might be helpful to share a full transcript (prompts, commands, output) of the installation (including creating a virtualenv or venv, etc) Cheers, -kyle
participants (2)
-
Joe Smongeski
-
Kyle Altendorf