-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
ImportError: cannot import name 'read_binary' from 'importlib.resources' #2953
Comments
Also, if I could have some guidance on how to uninstall PDM after installing with the powershell command, that would be greatly appreciated. |
Can you report it to https://github.com/pypa/installer ?
The installation script can be downloaded and executed separately, and it has additional options. You can also do it by:
|
It turn out it has already been fixed on the main branch but pending a new release: pypa/installer#218 The issue will also be automatically resolved by upgrading to the latest 3.13rc version: python/cpython#116608 So we don't need to do anything for this. |
That's good then, I just need to wait. |
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
py -m pip install --user pipx
pdm --version
Actual behavior
Expected behavior
Version is supposed to be displayed
Environment Information
Python 3.13.0a5
Windows 11
# Paste the output of `pdm info && pdm info --env` below: See Actual Behavior
As far as I understand, the reason why the program is failing is because
importlib.resources.read_binary
was actually deprecriated and replaced in Python 3.11. For some reason, this bug also occurs after installing pdm through the recommended powershell command.The text was updated successfully, but these errors were encountered: