Windows
Last updated
Last updated
To work on the assignments, you need a UNIX-like environment. Luckily, even though Windows is not UNIX-based, the Windows Subsystem for Linux (WSL) allows you to run a Linux distribution in a virtual machine (VM) with minimal setup.
Download and install for Windows. We strongly recommend installing the Professional version of PyCharm (free of cost). To do this, you will need to create an account using your university student email address. You may also use the Community edition, however we do not oficially support it.
Open PowerShell as administrator.
Enter wsl --install
(This step may take a few minutes)
When prompted choose a username and password for the WSL user account.
WSL should now be installed and the PowerShell window will show the command line for the Linux VM. From now on, you can enter this Linux VM by opening the WSL App from within Windows (e.g., by typing "WSL" in the search bar).
Any terminal commands that are mentioned in the following guides should be executed in a WSL terminal - not your Windows command line.
After installing, close and reopen your terminal application or refresh it by running the following command:
Select On WSL.
Wait until PyCharm detects Linux on your machine and completes introspection. Click Next to proceed:
One of the easiest ways to access your GitHub account (and with that your private repository) from within WSL is to set up a Secure Shell (SSH) key. Follow the for this. Make sure to execute all commands from within your WSL terminal!
Follow the section to create your conda environment.
Click the and choose Add New Interpreter.