Check your installation#

Note

If you get errors, please fill an issue in the py-edu-fr issue tracker to explain what you did and what are the errors (please copy/paste the error log). It is also a good exercice to learn how to use an issue tracker and to interact to find a solution to your problem.

Check command-line tools#

To check your installation for this training, copy/paste the following commands in a new terminal:

python3 --version
uv --version
pixi --version
jupyter-lab --version
ipython --version
git --version
meld --version
hg --version

Check graphical applications#

  • You should also be able to open Visual Studio Code with one of the commands code or codium.

  • You should be able to open Spyder.

Check activation of a virtual environment#

Once UV is installed, these commands have to work in a new terminal

uv venv -p 3.13 venv-tmp
venv-tmp\Scripts\activate
uv venv -p 3.13 venv-tmp
. ./venv-tmp/bin/activate

On Windows, this might lead to an error related to Restrictive Execution Policy. A solution is to run the following command in a PowerShell started as administrator (only this command, the activation has then to be run as normal user, in a new terminal):

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

If you cannot do that yourself, ask your administrator.