Python Forum
multiple versions of Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multiple versions of Python
#6
You can see it on the syscalls, if you start python with strace.
The place of the binary is the starting point. Then Python tries all relative
known paths to open the resources.

Here the stacktrace:

Aditionally command line parameters and environment variables define which paths the Python interpreter is using.
You have the same behaviour with virtual environments. In the case the difference is, that the files are symlinks.
Pyenv downloads Python from github, compiles it and installs it.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply


Messages In This Thread
multiple versions of Python - by Skaperen - Jun-11-2019, 01:20 AM
RE: multiple versions of Python - by stranac - Jun-11-2019, 10:49 AM
RE: multiple versions of Python - by Skaperen - Jun-11-2019, 10:03 PM
RE: multiple versions of Python - by stranac - Jun-12-2019, 11:46 AM
RE: multiple versions of Python - by Skaperen - Jun-12-2019, 01:12 PM
RE: multiple versions of Python - by DeaD_EyE - Jun-12-2019, 06:23 PM
RE: multiple versions of Python - by Skaperen - Jun-13-2019, 12:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python App On Different Versions Harshil 3 2,371 Aug-25-2020, 04:14 PM
Last Post: snippsat
  compiling various versions of Python, which toolchain? Skaperen 4 2,746 Jun-06-2019, 06:28 AM
Last Post: Skaperen
  running other older versions of python Skaperen 20 10,020 Mar-03-2018, 02:23 AM
Last Post: Skaperen
  many versions on python on linux Skaperen 8 5,786 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