meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
programming:python:multiple_versions [2023/06/22 10:15] – created niziakprogramming:python:multiple_versions [2023/06/22 11:46] (current) niziak
Line 3: Line 3:
  
 ====== pyenv ====== ====== pyenv ======
 +
 +  * [[https://realpython.com/intro-to-pyenv/]]
 +  * [[https://askubuntu.com/questions/682869/how-do-i-install-a-different-python-version-using-apt-get]]
  
 ===== Installation ===== ===== Installation =====
 +
 +For fully automated installation: <code bash>curl https://pyenv.run | bash</code>
 +
 +Manual installation steps:
  
 <code bash> <code bash>
Line 16: Line 23:
 exec "$SHELL" exec "$SHELL"
 </code> </code>
 +
 +==== Install plugins ====
 +
 +<code bash>
 +git clone https://github.com/pyenv/pyenv-update.git $(pyenv root)/plugins/pyenv-update
 +git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
 +
 +</code>
 +
  
 ===== Install Python build dependencies ===== ===== Install Python build dependencies =====