Skip to content

Limits on Python version

Peter Corke edited this page Jan 1, 2025 · 4 revisions

Newish architectures such as Apple ARM processors ("apple silicon") may not be supported for the following packages running on older versions of Python. The 3-dimensional matrix of packages x operating system x Python version is complicated!

Numpy

Numpy 2.x was released in 2024. A module that was compiled using NumPy 1.x cannot be run in NumPy 2.x as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0.

2024-12-08: right now it causes widespread problems for packages with compiled code such as matplotlib and opencv. spatialmath-python is also problematic since it has many dependencies on matplotlib. For now, the best option is to ensure that Numpy 1.x is installed.

OpenCV

OpenCV is required for almost all the vision examples in Parts IV and V of the RVC3-python book.

2024-12-08: currently only works on Python 3.6 to 3.12, OpenCV does not work with Numpy2 and there is no timeline for when it will (the current option is to recompile OpenCV from source with Numpy2).

Open3D

Open3D is required for a small number of examples in the RVC3-python book. It is usually only supported up to a few minor releases behind the bleeding Python edge, see details here.

2024-12-08: currently only works on Python 3.8 to 3.11

Torch

Torch is required for a small number of examples in the RVC3-python book. It is usually supported to a minor release behind the bleeding Python edge, see details here.

2024-12-08: currently only works on Python 3.8 to 3.12

Clone this wiki locally