Skip to content

DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. #34

Description

@hakonhagland

I am trying to install on Windows 11 with Python version 3.10.1:

>perl Makefile.PL
Found these python executables on your PATH:
1. C:\Users\hakon\AppData\Local\Programs\Python\Python310\/python.exe
2. C:\Users\hakon\AppData\Local\Microsoft\WindowsApps/python3.exe
3. C:\Users\hakon\AppData\Local\Microsoft\WindowsApps/python.exe
Using the only python 3 executable I could find even though python 2 was also found
Set the INLINE_PYTHON_EXECUTABLE environment variable to the full path to your python executable to override this selection.
Using C:\Users\hakon\AppData\Local\Programs\Python\Python310\/python.exe
<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
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<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
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<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
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<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
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<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
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead

This python's configuration files are messed up. You'll have have to
answer the questions yourself. Here is what Python said:

   Extra Libs:  None
   Python Library:  <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
C:\Users\hakon\AppData\Local\Programs\Python\Python310\libs/<string>:1:.\
   Include Path:    C:\Users\hakon\AppData\Local\Programs\Python\Python310\Include

        1. LIBS option. I need to know what extra libraries, if any,
           are required by this build of python. I recommend this:
           None

Enter extra libraries (e.g. -lfoo -lbar) [None]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions