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

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

Open
johnson7788 opened this issue Dec 1, 2023 · 2 comments
Open

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

johnson7788 opened this issue Dec 1, 2023 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@johnson7788
Copy link

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.

@XprobeBot XprobeBot added the bug Something isn't working label Dec 1, 2023
@XprobeBot XprobeBot added this to the v0.2.0 milestone Dec 1, 2023
@ChengjieLi28
Copy link
Contributor

ChengjieLi28 commented Dec 1, 2023

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
Copy link

zhaolj commented Apr 2, 2024

Is there any update for Non-supporting python 3.12?

@XprobeBot XprobeBot modified the milestones: v0.3.0, v0.3.1, v0.3.2, v0.3.3 Jul 10, 2024
@XprobeBot XprobeBot modified the milestones: v0.3.3, v0.3.4 Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants