Home > Mobile >  how to download and install wxPython wheel from github for Python 3.10 to overcome disutils and setu
how to download and install wxPython wheel from github for Python 3.10 to overcome disutils and setu

Time:08-10

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.

CodePudding user response:

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

CodePudding user response:

Syntax pip install git https://URL is used to install from sources from a Git repository — clone, cd, build wheel, install. The link https://github.com/oleksis/youtube-dl-gui/releases/tag/v1.8.2/wxPython-4.1.2a1-cp310-cp310-win_amd64.whl is a direct link to a wheel, it's not a Git repository (GitHub is bigger than just a hosting for reposotories, it has bug tracker, project management, hosting for release artifacts, etc.) so you shouldn't use git https:// syntax.

Try

pip install https://github.com/oleksis/youtube-dl-gui/releases/tag/v1.8.2/wxPython-4.1.2a1-cp310-cp310-win_amd64.whl

The wheel is valid for 64-bit Python version 3.10 on Windows. Check if your Python is the one.

  • Related