— Manual Installation#
Video Guide — description found below
Step 1: Install Miniconda#
Go to this website.
Make sure to scroll all the way down to Miniconda Installers
Click the link as seen on the image below
Follow the instructions during the installation. Make sure to cross off all the options regarding
PATH
, as shown below.
Step 2: Install Python#
Open
as an Administrator by opening the menu bar, then search for .Once you see Anaconda PowerShell on the right-hand side, you can select
. If not, right-click the icon and choose .Run the following command in the PowerShell window by copying, pasting and pressing Enter:
Set-ExecutionPolicy -Force RemoteSigned
Tip
You can copy and paste code in the gray code blocks by hovering your mouse over the block and pressing the icon appearing in the top right.
Run the following commands in the PowerShell window by copying, pasting and pressing Enter:
conda init
conda config --add channels conda-forge ; conda config --remove channels defaults ; conda config --set channel_priority strict
Run the following commands in the PowerShell window by copying, pasting and pressing Enter:
conda install python=3.11 dtumathtools pandas scipy statsmodels uncertainties -y
Step 3: Install Visual Studio Code#
Go to this website.
Click the download button and follow the instructions.
Step 4: Install extensions for Visual Studio Code#
Verification#
Verify that your installation is successful by following these steps:
Open PowerShell by opening the menu bar, then search for
. Verify that(base)
is shown to the left of the text. Something like the image below:Type
idle
in the Powershell window, then press Enter. This should open a new window in which you can run Python code.Verify the IDLE window says
Python 3.11.X
in the top left (or in the range of 3.8 – 3.11).Copy the following Python code into the IDLE window, then press Enter:
import dtumathtools, pandas, scipy, 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 Miniconda is installed: Search for the
Anaconda Powershell
prompt (it will sayAnaconda Powershell Prompt (Miniconda3)
) on your computer and open it up.If you cannot find it, press here to install Miniconda.
After opening the Anaconda Powershell, type
conda init
and press Enter.Ensure the packages are installed (if they are already installed, this will not do anything).
Paste the following line of code to the PowerShell window and press Enter:
conda install python=3.11 dtumathtools pandas scipy 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.