Menu

#10 python: distutils is deprecated

closed
nobody
None
5
2022-07-07
2022-07-04
No

When trying to build openIMPI-2.0.32 against python 3.10, I get the error:

checking for a version of Python >= '2.1.0'... yes
checking for the distutils Python package... no
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
*** Error code 1</string>

Please switch to a supported method for installing python modules.
Thank you!

Related

Commit: [eb67e0]

Discussion

  • Corey Minyard

    Corey Minyard - 2022-07-07
    • status: open --> accepted
     
  • Corey Minyard

    Corey Minyard - 2022-07-07

    I have already upgraded ax_python_devel.m4 to a version that supports sysconfig first, that should fix this issue. If not, please tell me. I'm releasing 2.0.33 right now for this and other fixes.

     
  • Corey Minyard

    Corey Minyard - 2022-07-07
    • status: accepted --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB