I have been trying to install wxpython but it gets stuck building the wheel. I am running Python 3.11 on Windows 11. 开发者_如何学Cpip install wxpython worked on this computer when I was using an earlier version of Python with no issues.
I am on a clean install of Python so the install initially failed because I didn't have attrdict3 so I installed it, then it got stuck running setup.py. I then installed wheel and setuptools to try to make it work but it is once again stuck. There is no error message, it just never stops building (at least for the ~45 minutes I let it go). I am not on a slow computer that should have any issue building this.
If you are encountering a problem where pip install wxpython is stuck on "Building wheel for wxpython (setup.py)", it is most likely due to a network issue. First, try to check if your network connection is working properly and if you can access the required dependencies for the installation. If the issue persists, you can try reinstalling with a mirror source, or manually download the source code for wxPython and compile it manually.
Additionally, there may be other issues that can arise during the installation process, such as missing dependencies or build failures. If you encounter these problems, it is recommended to consult the wxPython official documentation or community forums for more help and support. from openai
精彩评论