Installing on Windows
Important: If your M269 or Documents folders are on OneDrive, then right-click each folder and choose ‘always keep on this device’.
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 -0and see if Python 3.14 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.
- Install Python for all users. Disable the pathname limit if you’re given that option.
-
Enter
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestrictedto allow the installation script to run. -
Close the PowerShell and open a new one.
-
Enter
cd <M269 folder path>, e.g.cd ~/OU/m269-26j, to go to your M269 folder. (~is a shorthand for your home folder.) -
Enter
powershell -NoExit -Command "irm https://raw.githubusercontent.com/dsa-ou/m269-installer/main/install.ps1 | iex"to download and run the installation script. - Close the PowerShell.
Check that you have these files in your M269 folder:
install.ps1: the installation scriptrequirements.txt: the list of M269 softwarecustom.css: the style changes to Jupyter notebooksstart.ps1: needed to use the software
Tip: Do not remove these files, so that you can re-install the software, if needed.
In addition, there will be an M269-start shortcut in your desktop.
Handling errors
If you get an error message about the Command parameter in step 6,
enter only the part within the double quotes, i.e. irm ... | iex.
If that still doesn’t install the expected files, enter these two commands:
Invoke-WebRequest -Uri https://raw.githubusercontent.com/dsa-ou/m269-installer/main/install.ps1 -OutFile install.ps1.\install.ps1
This will download and run the installer, showing what it’s doing and why it’s failing. Check the M269 Technical Forum for any help on the error message you get.
| ⇧ Home | Using ⇨ |