-
Notifications
You must be signed in to change notification settings - Fork 19
Installing Python 3 and Python ACT R on your Machine
https://sites.google.com/view/ccmr
To check to see if you already have Python ACT-R on your computer, search for this file: imaginal.py If it's there, you probably already have it installed. (To search for a file, on Windows hit the windows key, and on Mac hold down the command key and hit space. Then, type whatever filename you're searching for.)
Install Python on your system (Python is a programming language). Make sure it's Python 3. To do that, type
python3 --version
If it returns some version of Python 3, such as Python 3.9.1, then you already have the right version of Python installed on your machine, and you can skip to the installing Python ACT-R part. Please note that this version of Python ACT-R does not run on Python 3.11 or higher.
Here is a link to instructions on how to install Python: https://realpython.com/installing-python/
Installing Python on Windows
On Windows you can check to see if you have the right version or Python by going to the command prompt and typing 'python --version'. See below for how to get a windows command prompt.
If the version is 2, you should upgrade to version 3.
If you go to the Python Windows download page, you can install the windows installer. You might have to restart the computer to get it to take.
Installing Python on a Mac
You can check to see if you have the right version or Python by going to the terminal (command-space; type 'terminal'; hit enter) and typing 'python --version'. See below for how to get a windows command prompt.
If the version is 2, you should upgrade to version 3.
If you go to the Python Mac download page, you can install the Mac installer. You might have to restart the computer to get it to take.
The type 'python3 --version' and you should have some version of Python 3 returned.
Now you're going to want to make Python3 your default python when you use the 'python' command. See instructions here https://opensource.com/article/19/5/python-3-default-mac
Once Python 3 is installed, go to a command line.
Get a Command Line on a Mac
press command-space and type `terminal` Hit Enter.Get a Command Line on Windows
On **Windows**, hit the windows button and type `cmd`. Then start the application Command Prompt. ***Get a Command Line on Linux
On Ubuntu and many other systems, there is a small terminal icon on the left side of the screen for you to click. If that doesn't work you can try Cntl+Alt+t ***This will open a command line.
Type pip python_actr
If that doesn't work, try pip3 python_actr