There are different installation options depending on your Python development environment and preference:
First, select your operating system:
Make sure Python 3 is installed. You can verify this by entering the following command into a terminal:
Python 3 should be included in your standard Linux distribution. You can verify the proper installation by typing following command into a terminal:
py -3 --version
# Example output:
# Python 3.8.6
To use the library, the output of this command must indicate version 3.8 or higher.
The Python Package Installer, pip, must also be installed. It typically comes with the standard distribution of Python, but you can check that it’s installed by entering the following command into a terminal:
py -3 -m pip --version
# Example output:
# pip 21.3.1 from C:\Python38\lib\site-packages\pip (python 3.8)
The Python version in brackets should match the version of Python that’s installed, otherwise you will not be able to install the library.
To install the library, enter the following command into a terminal:
py -3 -m pip install --user zaber-motion
To install the library, first create a virtual environment to isolate the installation from the system Python. The following commands illustrate how to create a light-weight virtual environment using venv that comes with Python, in a subdirectory called .venv.
First make sure you are in the project subdirectory. Then type the following command:
Then activate the environment (note that you must activate the virtual environment every time you start a new shell):
Any Python packages you install from this point onward will be inside the virtual environment of the specific project:
Now you may create a file named "example.py" (replace example with your desired file name) to start programming in Python.
Continue the Getting Started guide by running the example code.
If your version is too low or the command fails to execute, you may need to install a newer version of Python 3.
If your version is too low or the command fails to execute, you may need to install packages using the terminal command:
You may also need to update pip using the terminal command:
Before upgrading, determine which version of the library you currently have installed.
py -3 -m pip list
If you have installed the library in a virtual environment as per the installation instruction above, first activate the virtual environment:
Then list the versions of all the packages installed:
To update to the latest version (9.0.1):
py -3 -m pip install --user --upgrade zaber-motion
Make sure Python 3 is installed. The library supports version 3.8 or higher.
When creating a PyCharm project or a virtual environment, use the appropriate Python version.
For example, in the image below the Base interpreter is Python version 3.8.
If you cannot find an interpreter with the appropriate version, try reinstalling Python.

After creating the project, you may verify the Python version by entering the following command into the PyCharm terminal:
python --version
# Example output:
# Python 3.8.6
To install the library, click on Python Packages tab at the bottom, search for zaber-motion and click the Install button.
Alternatively, enter the following command into the PyCharm terminal:
pip install zaber-motion
Now you may open the automatically created main.py file to start programming in Python.
Continue the Getting Started guide by running the example code.
If you are already using the library and want to update to the latest version, you can do this by entering the following command into the PyCharm terminal:
pip install --upgrade zaber-motion
To determine which version of the library you currently have installed, enter the following command into the PyCharm terminal:
pip list