Open StacktraceException opened 1 year ago
pip install git+https://github.com/Thann/play-with-mpv.git --user
seem to want to no longer use the https://github.com/thann/install_freedesktop/tarball/master#egg=install_freedesktop-0.2.0
url for installing install_freedesktop for whatever reason, and is falling back on the default https://pypi.org/simple/install-freedesktop/
url which doesn't contain the modified 2.0.
I tried installing install_freedesktop from Thann's repo and it does install 2.0 but when i again run the install for play-with-mpv it still tries to install from the wrong url and gives me the same error.
i'm not super well versed in python no im not sure exactly how to bypass this issue if at all possible.
Just wanted to note that I'm getting this too with python 3.11, but using my 3.10 installation (and typing pip3.10 install git+https://github.com/Thann/play-with-mpv.git --user
) it still works.
Just wanted to note that I'm getting this too with python 3.11, but using my 3.10 installation (and typing
pip3.10 install git+https://github.com/Thann/play-with-mpv.git --user
) it still works.
Didn't work for me:
➜ pip install git+git://github.com/thann/play-with-mpv --user
Collecting git+git://github.com/thann/play-with-mpv
Cloning git://github.com/thann/play-with-mpv to /tmp/pip-req-build-2tsnt_wn
Running command git clone --filter=blob:none --quiet git://github.com/thann/play-with-mpv /tmp/pip-req-build-2tsnt_wn
fatal: unable to connect to github.com:
github.com[0: 140.82.112.4]: errno=Connection timed out
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet git://github.com/thann/play-with-mpv /tmp/pip-req-build-2tsnt_wn did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet git://github.com/thann/play-with-mpv /tmp/pip-req-build-2tsnt_wn did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip available: 22.3.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip
~ took 2m 13.4s …
➜ python --version
Python 3.10.9
~ …
➜ pip --version
pip 22.3.1 from /home/ke/.pyenv/versions/3.10.9/lib/python3.10/site-packages/pip (python 3.10)
Both this and woodruffw/ff2mpv are broken. What an absolutely horrible time this is.
How is this error even possible? v0.2.0 doesn't even exist. I checked that package, it hasn't been updated since 2015. @Thann
I changed the version back to 0.1.2 before installing it and it works without issue.
setup.py line 50-53
setup_requires=['wheel', 'install_freedesktop>=0.1.2'],
dependency_links=[
"https://github.com/thann/install_freedesktop/tarball/master#egg=install_freedesktop-0.1.2"
],
Today found best solution - just skip all this useful "linux like" installing with git pip etc.
If you need autorun just use hidden autostart in windows task shoulder. It working fine. No need this commands and do anything else. This is just "install process" and nothing more. You can use windows native capabilities for it...
Freedesktop package of version at least 0.2.0 is required by the installer. But latest available is 0.1.2 :
PS C:\Windows\System32> pip install git+https://github.com/thann/play-with-mpv --user --verbose Using pip 23.1.2 from C:\Users\angie\AppData\Local\Programs\Python\Python310\lib\site-packages\pip (python 3.10) Collecting git+https://github.com/thann/play-with-mpv Cloning https://github.com/thann/play-with-mpv to c:\users\angie\appdata\local\temp\pip-req-build-blbapcn Running command git version git version 2.39.2.windows.1 Running command git clone --filter=blob:none https://github.com/thann/play-with-mpv 'C:\Users\angie\AppData\Local\Temp\pip-req-build-blbapcn' Cloning into 'C:\Users\angie\AppData\Local\Temp\pip-req-build-blbapcn_'... Running command git rev-parse HEAD 07a9c1dd57d9e16538991b13fd3e2ed54d6e3a2d Resolved https://github.com/thann/play-with-mpv to commit 07a9c1dd57d9e16538991b13fd3e2ed54d6e3a2d Running command git rev-parse HEAD 07a9c1dd57d9e16538991b13fd3e2ed54d6e3a2d Running command pip subprocess to install build dependencies Collecting setuptools>=40.8.0 Using cached setuptools-67.8.0-py3-none-any.whl (1.1 MB) Collecting wheel Using cached wheel-0.40.0-py3-none-any.whl (64 kB) Installing collected packages: wheel, setuptools Successfully installed setuptools-67.8.0 wheel-0.40.0 Installing build dependencies ... done Running command Getting requirements to build wheel Getting requirements to build wheel ... done Running command pip subprocess to install backend dependencies ERROR: Could not find a version that satisfies the requirement install_freedesktop>=0.2.0 (from versions: 0.1.0, 0.1.1, 0.1.2) ERROR: No matching distribution found for install_freedesktop>=0.2.0 error: subprocess-exited-with-error
× pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. full command: 'C:\Users\angie\AppData\Local\Programs\Python\Python310\python.exe' 'C:\Users\angie\AppData\Local\Programs\Python\Python310\Lib\site-packages\pip__pip-runner__.py' install --ignore-installed --no-user --prefix 'C:\Users\angie\AppData\Local\Temp\pip-build-env-aymm_nq2\normal' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'install_freedesktop>=0.2.0' cwd: [inherit] Installing backend dependencies ... error error: subprocess-exited-with-error
× pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. NativeCommandExitException: Program "pip.exe" ended with non-zero exit code: 1.