...
Step 2. Make a folder in your C drive called CXASAP
Step 3. Download and install Python 3.
...
Go to https://www.python.org/downloads/windows/ . Scroll down and select “Python3.11.6 - Oct 2. 2023”.
...
8.10
Important note: Although Python3.8 is not the most recent version, CXASAP will run into problems with different versions of Python due to compatibility with various python packages and their versions, so please install Python 3.8.10 unless you absolutely must use a different version.
Go to python archive website to find the installer for Python 3.8.10. Scroll down and select “3.8.10”.
Find the correct installer. It will likely be “python-3.8.10-amd64.exe”. If you have a 32bit computer, you will need this one: python-3.8.10-embed-win32.zip
Run the installer and in the first step make sure you tick the box that says "add python.exe to PATH"
...
If this doesn’t work, go to where python is installed on your computer and find python.exe. Make a copy of it and name it python3.exe. Then test it again in powershell.
If you have another version of Python already on your computer and you want that to be the default when you run python, then you will need to set another alias, like this:
Code Block |
---|
notepad $profile Set-Alias python "C:\Users\username\AppData\Local\Programs\Python\OTHERPYTHON\python.exe" |
This means you will have two lines in the profile file, one fore python3 and one for python.
Step 5. Restart your computer
Step 6. Download code
Download the MX_teaching main branch of CXASAP from github: https://github.com/cx-asap/CX-ASAP/tree/main
On the top left, click the button that says “main” and select “MX_teaching”. This will change to the MX teaching branch.
Now download the data by clicking the green “Code” button and selecting “Download ZIP”
...
Please note: You need to activate the virtual environment every time you open a terminal to use CXASAP, by running this command:
Code Block |
---|
.\cxasap_venv\Scripts\activate |
If you get the error "...cannot be loaded because running scripts is disabled on this system", open Powershell as administrator and type the command:
...