Python Forum
compiled cpython output wrong version - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: compiled cpython output wrong version (/thread-24657.html)



compiled cpython output wrong version - bigrockcrasher - Feb-25-2020

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.