You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building the python bindings after running: ./configure --disable-silent-rules --enable-python --disable-examples
I get 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
According to the error you should be using setuptools not distutils.
I do not do any C based languages (C, C++, C#) so I wont be able to make the changes.
The text was updated successfully, but these errors were encountered:
@missemily2022 Even if you have setuptools installed, the configure.sh, what it does is to check that running python -c "import distutils" does not generate output. In recent versions of distutils, this generates a warning, so it does not pass the test, however, using PYTHONWARNINGS="ignore", the interpreter will not generate warnings and should pass the configuration tests.
When building the python bindings after running:
./configure --disable-silent-rules --enable-python --disable-examples
I get 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
According to the error you should be using setuptools not distutils.
I do not do any C based languages (C, C++, C#) so I wont be able to make the changes.
The text was updated successfully, but these errors were encountered: