Requirements
The UCX DSA package requires:- Python 3.7 or higher
- Dependencies:
networkx- For graph visualization featuresmatplotlib- For drawing and plotting data structures
Dependencies are automatically installed when you install the package via pip.
Installing UCX DSA
Install via pip
The easiest way to install UCX DSA is using pip:This will install the latest version of the package and all required dependencies.
Verify installation
After installation, verify that the package is installed correctly:The first method will print the version number (e.g.,
2026.02.13), while the second shows detailed package information.Updating UCX DSA
To update to the latest version of the package:Checking your version
There are multiple ways to check which version of UCX DSA you have installed:Version format
The package uses date-based semantic versioning in the formatYYYY.MM.DD:
- 2026.02.13 - Released on February 13, 2026
- 2025.12.24 - Released on December 24, 2025
- 2025.12.09 - Released on December 9, 2025
Installation troubleshooting
Python version too old
Python version too old
If you get an error about Python version compatibility, make sure you’re using Python 3.7 or higher:If you have multiple Python versions installed, you may need to use
pip3 instead of pip:Permission errors
Permission errors
If you encounter permission errors during installation, you can install for your user only:Alternatively, use a virtual environment (recommended for course work):
Import errors after installation
Import errors after installation
If the package installed successfully but you can’t import it:
- Make sure you’re using the correct Python interpreter
- Try restarting your Python REPL or Jupyter kernel
- Verify the package is installed:
pip list | grep ucxdsa