Pyenv

Aus AstroNeth-Wiki
Version vom 19. September 2023, 09:42 Uhr von Holger Neth (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== mehrere Python-Versionen == * brew install pyenv * brew info * pyenv install 3.11.5 * pyenv install 3.11.0 * pyenv versions * python --version * echo 'eval "$(pyenv init --path)"' >> ~/.bash_profile * source ~/.bash_profile * pyenv global 3.11.0 * python -m venv .venv * source .venv/bin/activate * pip install django * python -m django version * pip install mysqlclient {{Hauptseite}} Kategorie:Python“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

mehrere Python-Versionen

  • brew install pyenv
  • brew info
  • pyenv install 3.11.5
  • pyenv install 3.11.0
  • pyenv versions
  • python --version
  • echo 'eval "$(pyenv init --path)"' >> ~/.bash_profile
  • source ~/.bash_profile
  • pyenv global 3.11.0
  • python -m venv .venv
  • source .venv/bin/activate
  • pip install django
  • python -m django version
  • pip install mysqlclient

zurück zur ==> Hauptseite