ReferenceClientTroubleshooting

Troubleshooting

Solve common issues when working with the Synnax client.

This page covers common issues users encounter when working with the Synnax client libraries.

Installing the language

Synnax doesn’t enforce a specific way to work with Python, although our development team recommends using the latest version of the official Python installer.

Red Hat / Amazon Linux:

sudo yum install python3.12.x86_64 python3.12-devel.x86_64 python3.12-pip.noarch

Ubuntu (24.04 has Python 3.12 pre-installed; for older versions use deadsnakes):

# Update package index and install dependencies
sudo apt update
sudo apt install build-essential software-properties-common -y

# Add deadsnakes PPA and install Python 3.12
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.12 -y

# Verify installation
python3.12 --version

Incorrect version

Synnax requires Python 3.12+. Check your version:

python --version # or try: python3 --version, python3.12 --version

If the output shows Python 3.12.x or higher, the version is compatible. If older, update Python:

See the Installing the Language section above for distribution-specific instructions.

Command not found

If python --version returns command not found, the executable isn’t on your PATH.

If multiple Python versions are installed, an older version may shadow the newer one in your PATH. Check your PATH order and remove or reorder conflicting entries.

Common install location: /usr/bin/python3.12

# Add to PATH temporarily
export PATH="/usr/bin:$PATH"

# Or permanently (add to ~/.bashrc)
echo 'export PATH="/usr/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

Synnax command not found

If synnax returns command not found after installing via pip:

1. Check pip is using the correct Python version:

pip --version # Should show (python 3.12) or higher

If it shows an older version, your PATH may point to the wrong pip. See Command not found for PATH troubleshooting.

2. If using a virtual environment, run commands within it. Use the command for your environment manager:

Table

Tool Command
uv uv run sy --help
poetry poetry run sy --help (or poetry shell then sy --help)
venv source venv/bin/activate then sy --help
conda conda activate myenv then sy --help

Old Core version

Synnax Core version is too old for client version x.x.x. This may cause compatibility
issues. We recommend updating the Core.

Your client is newer than the Synnax Core you’re connecting to. Either upgrade Synnax Core or downgrade the client:

pip install synnax==x.x.x

Old client version

Synnax Core version is too new for client version x.x.x. This may cause
compatibility issues. We recommend updating the client.

Your client is older than the Synnax Core you’re connecting to. Update the client:

pip install --upgrade synnax