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

Deprecated distutils in Python v3.12 causes "no module..." exception #79

Open
mariuszmatusiak opened this issue Apr 13, 2024 · 0 comments

Comments

@mariuszmatusiak
Copy link

mariuszmatusiak commented Apr 13, 2024

Environment:

  • macOS Sonoma v14.4.1
  • Apple M1 Pro silicon
  • Python v3.12.3 (homebrew package)
  • simglucose installed with pip from cloned source code

Symptom:
Python 3.12.3 (main, Apr 9 2024, 08:09:14) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin Type "help", "copyright", "credits" or "license" for more information. from simglucose.simulation.user_interface import simulate Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/mariusz/Projects/simglucose/simglucose/__init__.py", line 1, in <module> from gym.envs.registration import register File "/Users/mariusz/Library/Python/3.12/lib/python/site-packages/gym/__init__.py", line 1, in <module> import distutils.version ModuleNotFoundError: No module named 'distutils'

Explanation: https://docs.python.org/3.11/library/distutils.html

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

No branches or pull requests

1 participant