Manual Installation#

Step 1: Install Miniforge#

  1. Click here to download the installer. Change the x86_64 to your hardware architechture, if it is not x86-64.

  2. Run the installer in a terminal:

    bash Miniforge3-Linux-$(uname -m).sh -b -p "${HOME}/miniforge3-dtu"
    source "${HOME}/miniforge3-dtu/etc/profile.d/conda.sh"
    conda activate
    conda init $(basename $SHELL)
    

    Tip

    You can copy and paste code in the code blocks by hovering your mouse over the code block and pressing the icon () appearing in the top right corner.

Step 2: Install Visual Studio Code#

  1. Go to this website.

  2. Click the download button and install, following the instructions.

Step 3: Install extensions for Visual Studio Code#

  1. Open Visual Studio Code and select the Extensions extensions tab on the left.

  2. Here search for Python, and download the extension. Make sure that it’s from Microsoft.

    ../../_images/macos-package-managed-python.png
  3. Search for Jupyter, and download that extension as well. This also needs to be from Microsoft.

    ../../_images/macos-package-managed-jupyter.png

How to turn AI on/off in VS Code#

  1. Open Visual Studio Code.

  2. Press Ctrl+, on Windows, or Command+, on MacOS, to open the settings in Visual Studio Code.

  3. Search for “Disable AI Features” and check or uncheck the box

    ../../_images/vscode_ai_checkbox.png

    If AI is enabled, you should have a Copilot icon () in the bottom right corner with an option to sign in.

    ../../_images/vscode_ai_signin.png

Tip

When you have finished the guide, we strongly recommend checking out learn more to prepare you for coding.

Verification#

Verify that your installation is successful by following these steps:

  1. Open up a new terminal. Verify that (base) is shown to the left of your username. Something like the image below:

  2. Type idle3 in the Terminal, then press Enter. This should open a new window in which you can run Python code.

  3. Verify the IDLE window says Python 3.14.X in the top left (or in the range of 3.10 – 3.15).

  4. Copy the following Python code into the IDLE window, then press Enter:

    import matplotlib, pandas, scipy, sklearn, spb, statsmodels, uncertainties
    

    Verify that a new line (>>>) appears without any text (indicating everything got imported correctly). See the below image for an example:

If some steps result in a different than described above, please continue reading the Troubleshooting section.

Troubleshooting#

Only follow these troubleshooting steps if something in the previous section did not check out.

  • Ensure that Miniforge is installed, follow these instructions.

  • Ensure the packages are installed (if they are already installed, this will not do anything).

    Paste the following line of code to the Terminal and press Enter:

    conda install python=3.14 matplotlib jupyter ipykernel pandas scipy scikit-learn statsmodels uncertainties -y
    
  • Go back to the previous Verification section and check them again.

If you are still having trouble or have any questions, please do not hesitate to visit us during office hours or contact us via email or Discord. More information can be found on our homepage.