The first thing we need to do for Autoshell to operate properly is install a Python interpreter on our machine.
1. If you have not yet installed Python on your Windows OS, then download and install the latest Python2 or Python3 from Python Downloads Page
- Make sure to check the box during installation which adds Python to PATH. Labeled something like Add Python X.X to PATH
2. Once Python is installed, you should be able to open a command window, type python
, hit ENTER, and see a Python prompt opened. Type quit()
to exit it. You should also be able to run the command pip
and see its options. If both of these work, then move on to Install Autoshell.
- If you cannot run
python
orpip
from a command prompt, you may need to add the Python installation directory path to the Windows PATH variable- The easiest way to do this is to find the new shortcut for Python in your start menu, right-click on the shortcut, and find the folder path for the
python.exe
file- For Python2, this will likely be something like
C:\Python27
- For Python3, this will likely be something like
C:\Users\<USERNAME>\AppData\Local\Programs\Python\Python37
- For Python2, this will likely be something like
- Open your Advanced System Settings window, navigate to the "Advanced" tab, and click the "Environment Variables" button
- Create a new system variable:
- Variable name:
PYTHON_HOME
- Variable value: <your_python_installation_directory>
- Variable name:
- Now modify the PATH system variable by appending the text
;%PYTHON_HOME%\;%PYTHON_HOME%;%PYTHON_HOME%\Scripts\
to the end of it. - Close out your windows, open a command window and make sure you can run the commands
python
andpip
- The easiest way to do this is to find the new shortcut for Python in your start menu, right-click on the shortcut, and find the folder path for the
MacOS often comes with a native version of Python, but we likely want to upgrade that and install PIP. The best way to do this is with a MacOS Linux-like package manager called Homebrew. You can visit the below pages to walk you through installing Homebrew and an updated Python interpreter along with it
1. Open Terminal and run: xcode-select --install
. This will open a window. Click 'Get Xcode' and install it from the app store.
2. Install Homebrew. Run: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
7. Once Python is installed, you should be able to open Terminal, type python
, hit ENTER, and see a Python prompt opened. Type quit()
to exit it. You should also be able to run the command pip
and see its options. If both of these work, then move on to Install Autoshell
- Additional resources on Installing Python 2 on Mac OS X
- Additional resources on Installing Python 3 on Mac OS X