May-30-2024, 04:18 PM
~ sudo pyenv uninstall 2.7.18 ✔
[sudo] password for raman:
pyenv: remove /root/.pyenv/versions/2.7.18? [y|N] y
pyenv: 2.7.18 uninstalled
~ python -V ✔ 9s
Python 3.12.3
~ pyenv install 2.7.18 ✔
pyenv: /home/raman/.pyenv/versions/2.7.18 already exists
continue with installation? (y/N) y
Downloading Python-2.7.18.tar.xz...
-> https://www.python.org/ftp/python/2.7.18....18.tar.xz
Installing Python-2.7.18...
patching file configure
patching file configure.ac
patching file setup.py
patching file Mac/Tools/pythonw.c
patching file setup.py
patching file Doc/library/ctypes.rst
patching file Lib/test/test_str.py
patching file Lib/test/test_unicode.py
patching file Modules/_ctypes/_ctypes.c
patching file Modules/_ctypes/callproc.c
patching file Modules/_ctypes/ctypes.h
patching file Modules/_ctypes/callproc.c
patching file setup.py
patching file Mac/Modules/qt/setup.py
patching file setup.py
Installed Python-2.7.18 to /home/raman/.pyenv/versions/2.7.18
~ pyenv global 2.7.18 ✔ 4m 22s
~ python -V ✔
Python 3.12.3
~ python ✔
Python 3.12.3 (main, Apr 23 2024, 09:16:07) [GCC 13.2.1 20240417] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
[sudo] password for raman:
pyenv: remove /root/.pyenv/versions/2.7.18? [y|N] y
pyenv: 2.7.18 uninstalled
~ python -V ✔ 9s
Python 3.12.3
~ pyenv install 2.7.18 ✔
pyenv: /home/raman/.pyenv/versions/2.7.18 already exists
continue with installation? (y/N) y
Downloading Python-2.7.18.tar.xz...
-> https://www.python.org/ftp/python/2.7.18....18.tar.xz
Installing Python-2.7.18...
patching file configure
patching file configure.ac
patching file setup.py
patching file Mac/Tools/pythonw.c
patching file setup.py
patching file Doc/library/ctypes.rst
patching file Lib/test/test_str.py
patching file Lib/test/test_unicode.py
patching file Modules/_ctypes/_ctypes.c
patching file Modules/_ctypes/callproc.c
patching file Modules/_ctypes/ctypes.h
patching file Modules/_ctypes/callproc.c
patching file setup.py
patching file Mac/Modules/qt/setup.py
patching file setup.py
Installed Python-2.7.18 to /home/raman/.pyenv/versions/2.7.18
~ pyenv global 2.7.18 ✔ 4m 22s
~ python -V ✔
Python 3.12.3
~ python ✔
Python 3.12.3 (main, Apr 23 2024, 09:16:07) [GCC 13.2.1 20240417] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>