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

Use of long deprecated ImpImporter from pkgutil #1064

Open
noblockhit opened this issue Dec 22, 2024 · 0 comments
Open

Use of long deprecated ImpImporter from pkgutil #1064

noblockhit opened this issue Dec 22, 2024 · 0 comments

Comments

@noblockhit
Copy link

noblockhit commented Dec 22, 2024

Behaviour upon install attempt on 3.13.1t

...\AppData\Local\Temp\pip-build-env-bczeh3tt\overlay\Lib\site-packages\pkg_resources\__init__.py", line 2172, in <module>
          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.

Steps to reproduce

  • win 11
  • python 3.13.1t
  • py -m pip install opencv-python
@noblockhit noblockhit changed the title Use of long deprecated ImpImporter from pkgutils Use of long deprecated ImpImporter from pkgutil Dec 22, 2024
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