Benutzer-Werkzeuge

Webseiten-Werkzeuge


playground:about:pyenv-win

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
playground:about:pyenv-win [2025/02/25 21:16]
20.171.207.84 alte Version wiederhergestellt (2024/05/05 16:21)
playground:about:pyenv-win [2025/02/28 20:41] (aktuell)
20.171.207.133 alte Version wiederhergestellt (2025/02/25 21:16)
Zeile 2: Zeile 2:
 Windows PowerShell Windows PowerShell
 Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
-                                                                                                                        Lernen Sie das neue plattformübergreifende PowerShell kennen – https://aka.ms/pscore6                                                                                                                                                           PS C:\Users\Stefan> Invoke-WebRequest -UseBasicParsing -Uri "https://raw.githubusercontent.com/pyenv-win/pyenv-win/master/pyenv-win/install-pyenv-win.ps1" -OutFile "./install-pyenv-win.ps1"; &"./install-pyenv-win.ps1"                        
  
-    VerzeichnisC:\Users\Stefan+Lernen Sie das neue plattformübergreifende PowerShell kennen – https://aka.ms/pscore6
  
 +PS C:\Users\Stefan> Invoke-WebRequest -UseBasicParsing -Uri "https://raw.githubusercontent.com/pyenv-win/pyenv-win/master/pyenv-win/install-pyenv-win.ps1" -OutFile "./install-pyenv-win.ps1"; &"./install-pyenv-win.ps1"                       
 +
 +Verzeichnis: C:\Users\Stefan
  
 Mode                 LastWriteTime         Length Name Mode                 LastWriteTime         Length Name
Zeile 11: Zeile 13:
 d-----        05.05.2024     16:11                .pyenv d-----        05.05.2024     16:11                .pyenv
 pyenv-win is successfully installed. You may need to close and reopen your terminal before using it. pyenv-win is successfully installed. You may need to close and reopen your terminal before using it.
- 
  
 PS C:\Users\Stefan> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine                            PS C:\Users\Stefan> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine                           
Zeile 22: Zeile 23:
  
 Pyenv für Windows installieren Pyenv für Windows installieren
-                                                                                                                                                         PS C:\Users\Stefan> Invoke-WebRequest -UseBasicParsing -Uri "https://raw.githubusercontent.com/pyenv-win/pyenv-win/master/pyenv-win/install-pyenv-win.ps1" -OutFile "./install-pyenv-win.ps1"; &"./install-pyenv-win.ps1"                        
  
-    Verzeichnis: C:\Users\Stefan+PS C:\Users\Stefan> Invoke-WebRequest -UseBasicParsing -Uri "https://raw.githubusercontent.com/pyenv-win/pyenv-win/master/pyenv-win/install-pyenv-win.ps1" -OutFile "./install-pyenv-win.ps1"; &"./install-pyenv-win.ps1"                       
  
 +Verzeichnis: C:\Users\Stefan
  
 Mode                 LastWriteTime         Length Name Mode                 LastWriteTime         Length Name
Zeile 33: Zeile 34:
  
 </note> </note>
 +PS C:\Users\Stefan> pyenv install -l
 +
 +:: [Info] ::  Mirror: https://www.python.org/ftp/python
 +2.4-win32
 +...
 +3.12.3
 +3.13.0a1-win32
 +3.13.0a1-arm
 +
 +
 +PS C:\Users\Stefan> pyenv install 3.12.3
 +
 +PS C:\Users\Stefan> pyenv global 3.12.3
 +
 +<code>
 +PS C:\Users\Stefan> pyenv version
 +3.12.3 (set by C:\Users\Stefan\.pyenv\pyenv-win\version)
 +
 +
 +PS C:\Users\Stefan> pyenv
 +pyenv 3.1.1
 +
 +Usage: pyenv <command> [<args>]
 +
 +Some useful pyenv commands are:
 +   commands     List all available pyenv commands
 +   duplicate    Creates a duplicate python environment
 +   local        Set or show the local application-specific Python version
 +   latest       Print the latest installed or known version with the given prefix
 +   global       Set or show the global Python version
 +   shell        Set or show the shell-specific Python version
 +   install      Install a Python version using python-build
 +   uninstall    Uninstall a specific Python version
 +   update       Update the cached version DB
 +   rehash       Rehash pyenv shims (run this after installing executables)
 +   vname        Show the current Python version
 +   version      Show the current Python version and its origin
 +   version-name Show the current Python version
 +   versions     List all Python versions available to pyenv
 +   exec         Runs an executable by first preparing PATH so that the selected Python
 +   which        Display the full path to an executable
 +   whence       List all Python versions that contain the given executable
 +
 +See `pyenv help <command>' for information on a specific command.
 +For full documentation, see: https://github.com/pyenv-win/pyenv-win#readme
 +
 +--version
 +export
 +help
 +migrate
 +shims
 +
 +PS C:\Users\Stefan> python --version
 +Python 3.12.3
 +
 +> python -c "import sys; print(sys.executable)"
 +\path\to\.pyenv\pyenv-win\versions\<version>\python.exe
 +
 +PS C:\Users\Stefan> python -c "import sys; print(sys.executable)"
 +C:\Users\Stefan\.pyenv\pyenv-win\versions\3.12.3\python.exe
 +
 +</code>
 +
 +pyenv update
 +
 +eval "$(pyenv init -)"
  
/volume1/web/dokuwiki/data/attic/playground/about/pyenv-win.1740514573.txt.gz · Zuletzt geändert: 2025/02/25 21:16 von 20.171.207.84