Python Forum
compiled cpython output wrong version
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compiled cpython output wrong version
#1
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Compiles Python code with no error but giving out no output - what's wrong with it? pythonflea 6 1,492 Mar-27-2023, 07:38 AM
Last Post: buran
  Python Pandas Syntax problem? Wrong Output, any ideas? Gbuoy 2 883 Jan-18-2023, 10:02 PM
Last Post: snippsat
  Am I wrong or is Udemy wrong? String Slicing! Mavoz 3 2,387 Nov-05-2022, 11:33 AM
Last Post: Mavoz
  [CPython] Can't run script python VietVH 2 1,166 May-21-2022, 04:49 PM
Last Post: VietVH
  ImportError: /home/ali/Documents/test/charm/core/crypto/AES.cpython-39-x86_64-linux-g Anldra12 0 1,210 Apr-28-2022, 07:13 AM
Last Post: Anldra12
  Os command output in variable shows wrong value paulo79 2 1,467 Apr-09-2022, 03:48 PM
Last Post: ndc85430
  Reducing runtime memory usage in Cpython interpreter david_the_graower 2 2,175 Oct-18-2021, 09:56 PM
Last Post: david_the_graower
  Navigating cpython source using python quazirfan 3 1,985 Aug-09-2021, 07:52 PM
Last Post: quazirfan
  For loops returning wrong output Nighthound21 1 1,935 May-03-2021, 03:43 AM
Last Post: deanhystad
  print function output wrong with strings. mposwal 5 3,046 Feb-12-2021, 09:04 AM
Last Post: DPaul

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020