With the Pybind upgrade to v2.12.0 and the Numpy upgrade to v2.0, some previous CI setup warnings turned into errors, leading to broken Python imports. Fix by (1) removing conflicting Python versions or (2) using Python virtualenvs.
[x] merge #1640 first
1640 and this (#1637) are two separate PRs since I don't want to squash the commits, #1640 has another author (third-party lib).
With the Pybind upgrade to v2.12.0 and the Numpy upgrade to v2.0, some previous CI setup warnings turned into errors, leading to broken Python imports. Fix by (1) removing conflicting Python versions or (2) using Python virtualenvs.
1640 and this (#1637) are two separate PRs since I don't want to squash the commits, #1640 has another author (third-party lib).