Python Forum
compiling various versions of Python, which toolchain?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compiling various versions of Python, which toolchain?
#3
in order to use pyenv i need to understand how it carries out its function and what all it does interfacing with the system. does it create a Linux container when run on Linux? i am wanting to create a container to make it have the appearance of a system (maybe a different version of Ubuntu) that has that version of Python as the system Python. i simply have no idea how much of this can be done in pyenv. and i have no idea what kind of impact it has on the host system. for example, can i run a copy of Xorg inside pyenv? can i run root-privileged processes in pyenv? how secure is pyenv? where can i get documentation at this level, instead of promotional text?

how does pyenv load up the appropriate version of Python? does it compile source code? does it download the appropriate toolchain versions or just hope that the version on the system will work (doubtful across all versions of Python)? or does it download a binary that matches your architecture? if the latter, which architectures are available? are both 64-bit and 32-bit available? suppose i want to run a 32-bit version of Python on my 64-bit host? i can do that in emulation and even in a container (though a 32-bit container on a 64-bit host ends up with processes that can go all the way to a full 4GB of virtual memory unlike running on 32-bit hardware or 32-bit emulation).
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
RE: compiling various versions of Python, which toolchain? - by Skaperen - Jun-05-2019, 10:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  compiling with an undefined variable Skaperen 0 1,029 Nov-10-2022, 11:59 PM
Last Post: Skaperen
  compiling numpy, getting C source Skaperen 10 3,809 Nov-20-2021, 12:41 AM
Last Post: Skaperen
  python compiling and sql? abrogard 2 2,331 Oct-27-2020, 06:37 AM
Last Post: buran
  cross-compiling python with zlib support michelebucca 5 5,932 Aug-25-2020, 08:19 PM
Last Post: carterb
  Python App On Different Versions Harshil 3 2,389 Aug-25-2020, 04:14 PM
Last Post: snippsat
  multiple versions of Python Skaperen 6 3,010 Jun-13-2019, 12:32 AM
Last Post: Skaperen
  running other older versions of python Skaperen 20 10,079 Mar-03-2018, 02:23 AM
Last Post: Skaperen
  compiling to python-- should ; be used or not? ezdev 4 3,844 Jan-03-2018, 07:31 PM
Last Post: nilamo
  many versions on python on linux Skaperen 8 5,820 Oct-17-2017, 02:22 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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