Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue ModuleNotFoundError: No module named 'distutils' when running tests in Python 3.12.3 #485

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rohandudam
Copy link
Collaborator

Error ModuleNotFoundError: No module named 'distutils' occurs because distutils is no longer included by default in Python 3.12. I am able to reproduce the issue.

To fix the issue, added conditional setuptools installation for Python 3.12+ under requirements.txt file. After installation of setup tools, issue got fixed and able to run tests without any issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ModuleNotFoundError: No module named 'distutils' when running tests in Python 3.12.3
1 participant