Python Forum

Full Version: compiled cpython output wrong version
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I recently compiled cpython 3.6.10 on centos 7. I do not have administrative access so I have another folder were I install things. I noticed that the binary that I installed says it is version 3.6.8 despite the fact I downloaded 3.6.10 to compile. I recompiled it again. From within the location that I compiled, the python binary still says 3.6.8. This binary is not a link. Now this may be relevant, python 3.6.8 is installed on the system. Because I am not am not an administrator on this system I do not have the option of upgrading it. Have I done same thing wrong

Ok I solved my problem. Turns out I need to set my LD_LIBRARY_PATH to reflect where the newer library is.