-
Notifications
You must be signed in to change notification settings - Fork 516
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
wxPython install dependency error attrdict ModuleNotFound #2401
Comments
Try re-creating your venv, but dont install |
It looks like it's still showing the same error after removing attrdict. Also I uninstalled attrdict with
|
Should but might not. Please try re-creating venv. |
Alright I recreated the venv and it's still showing the same error:
|
Thanks for humoring me. If you just run python in that venv, what happens if you just run: Also, what versions of pip and setuptools? |
It looks like python is able to import attrdict just fine.
|
That's really strange. Can you try updating setuptools and see if that helps? |
Updated setuptools to the latest version (67.8.0), same result:
|
It seems like this issue is similar to issue 2225 as well |
This particular issue seems to be related to pip 23.1.2 or thereabouts. I'm able to reproduce the problem. If you downgrade to 22.3.1, it seems to work. |
Er, actually, |
Awesome, that worked, thanks so much! It said that wheel was already installed, so I just did a |
Actually, it looks like that wasn't the root cause. I tried to install wxPython in another venv following the same steps (install only attrdict3, reinstall wheel and setuptools) and I am still getting the same error:
In the other venv (.new_venv) where I got the installation to work, I tried to install wxPython version 4.1.1 from source before I tried the wheel / setuptools reinstallation. The installation failed though, but perhaps something that happened during that installation fixed the error that we are seeing here? |
Also, in this venv, I am seeing some more weird behavior with attrdict:
|
It looks like uninstalling and reinstalling attrdict3 seems to have done the trick! So the solution is to:
|
today I was playing with a new installed debian 12 with python 3.11.2, than it works, with a requirement.txt it was not working well aiofiles 23.1.0 |
System Details:
Problem Description:
When installing wxPython (latest version 4.2.0) I am getting an error that the
attrdict
dependency is not found, even though it is installed.The text was updated successfully, but these errors were encountered: