Pyenv: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 8: | Zeile 8: | ||
* python --version | * python --version | ||
{{Message-info|Inhalt='''eval "$(/opt/homebrew/bin/brew shellenv)" | {{Message-info|Inhalt='''eval "$(/opt/homebrew/bin/brew shellenv)" | ||
export PATH="$HOME/.pyenv/bin:$PATH" | export PATH="$HOME/.pyenv/bin:$PATH" | ||
eval "$(pyenv init --path)"'''_'''fully.sh und in cron.d integriert'''.}} | eval "$(pyenv init --path)"'''_'''fully.sh und in cron.d integriert'''.}} | ||
* source ~/.bash_profile | * source ~/.bash_profile | ||
Version vom 19. September 2023, 19:31 Uhr
mehrere Python-Versionen
- brew install pyenv
- brew info
- pyenv install 3.11.5
- pyenv install 3.11.0
- pyenv versions
- python --version
ℹ️ eval "$(/opt/homebrew/bin/brew shellenv)" export PATH="$HOME/.pyenv/bin:$PATH" eval "$(pyenv init --path)"_fully.sh und in cron.d integriert.
- 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