Check your installation
Check command-line tools¶
To verify your installation for this training, copy and paste the following commands into a new terminal:
python3 --version
uv --version
pixi --version
jupyter-lab --version
ipython --version
hg --versionA few programs were presented as useful but optional for this training:
git --version
meld --version
conda --versionCheck graphical applications¶
You should be able to open Visual Studio Code using one of the commands
codeorcodium.You should be able to open Spyder.
Check activation of a virtual environment¶
Once UV is installed, these commands should work in a new terminal:
uv venv -p 3.13 venv-tmp
venv-tmp\Scripts\activateThe activation didn’t work well?
On Windows, this might result in an error related to the Restrictive Execution Policy. A solution is to run the following command in a PowerShell session started as administrator (run only this command; the activation should then be performed as a normal user in a new terminal):
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserIf you cannot do this yourself, please ask your administrator for assistance.
uv venv -p 3.13 venv-tmp
. ./venv-tmp/bin/activateNext¶
You should be ready to start the training! More importantly, you should now have a good setup for developing with Python.
If you are brave enough and still have a bit of time and energy for that, you can finalise the preparation by working on the first exercises of the page Get and use the training source, which consist in installing and using the virtual environment of the training.