Installing on Windows
Tip: To avoid errors, instead of typing the commands below, select and copy them from this page and paste them into the PowerShell.
-
Open a PowerShell, not a Command Prompt.
- Enter
py -0
and see if Python 3.12 is listed. If not, or if you get an error message like ‘command not found’:- Follow these instructions to check if you have 32-bit or 64-bit Windows.
- Download and run the 32-bit installer or the 64-bit installer.
- After installing, disable the pathname limit if you’re given that option.
-
If you installed Python in step 2, close the PowerShell and open a new one.
-
Enter
cd <M269 folder path>
, e.g.cd ~/OU/m269-25j
, to go to your M269 folder. (~
is a shorthand for your home folder.) -
Enter
Invoke-WebRequest -Uri https://raw.githubusercontent.com/dsa-ou/m269-installer/main/install.ps1 -OutFile install.ps1
to download the installation script. -
Enter
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
to allow the installation script to run. Select theY
(yes) option if you’re given a choice. -
Enter
.\install.ps1
to run the installation script. - Close the PowerShell.
You will have these files in your M269 folder:
install.ps1
: the installation scriptrequirements.txt
: the list of M269 softwarecustom.css
: the style changes to Jupyter notebooks
Tip: Do not remove these files, so that you can re-install the software, if needed.
You will also have file start.ps1
, which is needed to use the software.
⇧ Home | Using ⇨ |