xorbitsai / xoscar

Python actor framework for heterogeneous computing.
https://xoscar.dev
Apache License 2.0
88 stars 21 forks source link

[BUG] python 3.12 pkgutil has no attribute 'ImpImporter' #81

Open johnson7788 opened 9 months ago

johnson7788 commented 9 months ago

Describe the bug

A clear and concise description of what the bug is.

tuptools__init.py", line 16, in import setuptools.version File "C:\Users\AppData\Local\Temp\pip-build-env-5c2u67or\overlay\Lib\site-packages\se tuptools\version.py", line 1, in import pkg_resources File "C:\Users\AppData\Local\Temp\pip-build-env-5c2u67or\overlay\Lib\site-packages\pk g_resources\init__.py", line 2191, in register_finder(pkgutil.ImpImporter, find_on_path) ^^^^^^^^^^^^^^^^^^^ AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

To Reproduce

To help us to reproduce this bug, please provide information below:

  1. Your Python version
  2. The version of Xoscar you use #xoscar-0.1.3.tar.gz
  3. Versions of crucial packages, such as numpy, scipy and pandas
  4. Full stack of the error.
  5. Minimized code to reproduce the error.

Expected behavior

A clear and concise description of what you expected to happen.

Additional context

Add any other context about the problem here.

ChengjieLi28 commented 9 months ago

Hi, @johnson7788 . Currently xoscar does not support Python 3.12. xoscar supports from Python 3.8 to 3.11 for now. In the future, we will support 3.12.

zhaolj commented 5 months ago

Is there any update for Non-supporting python 3.12?