Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
libpython3.x
#6
if you have pyenv installed (which you mentioned in post 3),
then the proper way to set a version of python as default is: pyenv global 3.8.1 (or whatever version you want to be default)

This is the beauty of pyenv, especially with virtual environments.

for example if you had 3.6, 3.7 and 3.8.1 installed
you can set default to 3.6, create your virtual environment and change default back to 3.8.1
now, any python run in the virtual environment will use 3.6, while anything outside of the venv will use 3.8.1
Reply


Messages In This Thread
libpython3.x - by Jeff - Feb-02-2020, 09:19 AM
RE: libpython3.x - by Larz60+ - Feb-02-2020, 02:08 PM
RE: libpython3.x - by Jeff - Feb-07-2020, 10:24 AM
RE: libpython3.x - by TonkaNL - Feb-19-2020, 10:48 AM
RE: libpython3.x - by TonkaNL - Feb-19-2020, 12:42 PM
RE: libpython3.x - by Larz60+ - Feb-19-2020, 01:27 PM

Forum Jump:

User Panel Messages

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