rose-compiler/rose

Python deprecation error during build configuration

jdietz224 opened this issue · 1 comments

I tried to install rose and when running the configuration script, I got this error:

configure: error: cannot import Python module "distutils". Please check your Python installation. The error was: <string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives

I'm surprised that a deprecation warning is causing the script to fail entirely, but that's what it's saying the issue is.

In attempting to install a previous version of Python in order to try to circumvent this issue, I accidentally broke my symbolic /usr/bin/python link. That caused this error to go away. Re-linking it to a current version of Python (3.10) caused it to return.

So I guess that solves it.