Closed shinyano closed 1 hour ago
In docs/installing_cpython.md windows section, the following script:
docs/installing_cpython.md
$url = 'https://www.python.org/ftp/python/3.13.0/python-3.13.0-amd64.exe' Invoke-WebRequest -Uri $url -OutFile 'python.exe' python.exe /quiet Include_freethreaded=1
should be
$url = 'https://www.python.org/ftp/python/3.13.0/python-3.13.0-amd64.exe' Invoke-WebRequest -Uri $url -OutFile 'python.exe' .\python.exe /quiet Include_freethreaded=1 # <- add .\ before python.exe
to execute the downloaded installer, because Windows PowerShell does not load commands from the current location by default.
Directly typing python.exe may even execute the Python version that was previously installed and added to PATH by the user.
python.exe
To be more clear, we can change the name of the installer downloaded:
$url = 'https://www.python.org/ftp/python/3.13.0/python-3.13.0-amd64.exe' Invoke-WebRequest -Uri $url -OutFile 'python-3.13.0-amd64.exe' .\python-3.13.0-amd64.exe /quiet Include_freethreaded=1
Makes sense to me, would you mind creating a PR with the change?
Sure! I'd be glad to.
Fixed in #112!
In
docs/installing_cpython.md
windows section, the following script:should be
to execute the downloaded installer, because Windows PowerShell does not load commands from the current location by default.
Directly typing
python.exe
may even execute the Python version that was previously installed and added to PATH by the user.To be more clear, we can change the name of the installer downloaded: