NOTE: Skip straight to step 6 if you have already installed python2.7.
-
Install chocolatey Run this in a cmd prompt window. Make sure to right click the icon and use "Run as administrator"
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
-
Open a new admin command prompt
-
Install python
- This step will use chocolatey to install python2 and python3 on your computer.
- Python3 isn't required, but imo it's nicer to work in. Their code is written in python2
- Python3 cannot run python2 code so you'll need to have python2 installed.
- Run
choco install python2 python -y
to get python2 and python3 - Run
choco install python2 -y
if you only want python2
-
Refresh environment variables by running
refreshenv
in the command prompt -
Update pip by running
python -m pip install --upgrade pip
in the command prompt -
Install packages by running
pip install matplotlib numpy scipy
in the command prompt -
Run the program
- Open a command prompt in the directory where the program is located (doesn't need to be admin)
- This command will get you to your desktop:
cd %USERPROFILE%/Desktop
cd ..
will navigate up a directorycd folder_name
navigate into that folderdir
will display the contents of the folder you're currently in- tab will autocomplete most names most of the time
- This command will get you to your desktop:
- Run this command to test if you're in the right spot and everything is working:
python RelaxPy-v01.py Example.txt Output.csv
- Open a command prompt in the directory where the program is located (doesn't need to be admin)