Search code examples
pythongithubpippython-wheel

how to download and install wxPython wheel from github for Python 3.10 to overcome disutils and setuptools problem


Python 3.10 has a problem with disutils and setuptools>=58 in that wxPython will not run in conjunction with packages Gooey/DEAP/NEMO. I have been told there is a wxPython wheel which gets round those problems

https://github.com/oleksis/youtube-dl-gui/releases/tag/v1.8.2 but i cannot get the command syntax to work for some relationship between: "git+", #egg", "wxPython"

I tried pip install -e git+https://github.com/oleksis/youtube-dl-gui/releases/tag/v1.8.2/wxPython-4.1.2a1-cp310-cp310-win_amd64.whl#egg=wxPython
and got

pip install -e git+https://github.com/oleksis/youtube-dl-gui/releases/tag/v1.8.2/wxPython-4.1.2a1-cp310-cp310-win_amd64.whl#egg=wxPython
Obtaining wxPython from git+https://github.com/oleksis/youtube-dl-gui/releases/tag/v1.8.2/wxPython-4.1.2a1-cp310-cp310-win_amd64.whl#egg=wxPython Cloning https://github.com/oleksis/youtube-dl-gui/releases/tag/v1.8.2/wxPython-4.1.2a1-cp310-cp310-win_amd64.whl to c:\users\gerald\src\wxpython Running command git clone --filter=blob:none --quiet https://github.com/oleksis/youtube-dl-gui/releases/tag/v1.8.2/wxPython-4.1.2a1-cp310-cp310-win_amd64.whl 'C:\Users\Gerald\src\wxpython' fatal: https://github.com/oleksis/youtube-dl-gui/releases/tag/v1.8.2/wxPython-4.1.2a1-cp310-cp310-win_amd64.whl/info/refs not valid: is this a git repository?

What is the correct pip command for this case please.


Solution

  • A new release appeared: https://pypi.org/project/wxPython/4.2.0/ . Binary wheels for w64 available for Python 3.7-3.10.