Giter Site home page Giter Site logo

Comments (9)

nattymcfly5 avatar nattymcfly5 commented on June 2, 2024 8

I just ran it again and it worked, I ran this instead pip install git+https://github.com/thann/play-with-mpv --user

turns out git+git is depreciated

from play-with-mpv.

shssoichiro avatar shssoichiro commented on June 2, 2024 5

@omaru-ok if you read the error message, when you try it with https:// instead of git:// it gives a different error. You need to pip install --user wheel then run pip install git+https://github.com/thann/play-with-mpv --user again.

from play-with-mpv.

NormTurtle avatar NormTurtle commented on June 2, 2024 2

pip install git+https://github.com/thann/play-with-mpv --user

omg it does work :O

from play-with-mpv.

nattymcfly5 avatar nattymcfly5 commented on June 2, 2024 1

Im getting a similar error with Fedora 36

from play-with-mpv.

NormTurtle avatar NormTurtle commented on June 2, 2024

Im getting a similar error with Fedora 36

wath to do bro?

from play-with-mpv.

NormTurtle avatar NormTurtle commented on June 2, 2024

I just ran it again and it worked, I ran this instead pip install git+https://github.com/thann/play-with-mpv --user

turns out git+git is depreciated

still error

❯ pip install git+https://github.com/thann/play-with-mpv --user
Collecting git+https://github.com/thann/play-with-mpv
  Cloning https://github.com/thann/play-with-mpv to c:\users\oma\appdata\local\temp\pip-req-build-odt0i8u3
  Running command git clone --filter=blob:none --quiet https://github.com/thann/play-with-mpv 'C:\Users\oma\AppData\Local\Temp\pip-req-build-odt0i8u3'
  Resolved https://github.com/thann/play-with-mpv to commit 07a9c1dd57d9e16538991b13fd3e2ed54d6e3a2d
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [53 lines of output]
      C:\Users\oma\scoop\apps\python\current\lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        warnings.warn(
      WARNING: The wheel package is not available.
      WARNING: Skipping page https://github.com/thann/install_freedesktop/tarball/master#egg=install_freedesktop-0.2.0 because the GET request got Content-Type: application/x-gzip. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
        WARNING: Cache entry deserialization failed, entry ignored
        error: subprocess-exited-with-error

        python setup.py bdist_wheel did not run successfully.
        exit code: 1

        [6 lines of output]
        usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
           or: setup.py --help [cmd1 cmd2 ...]
           or: setup.py --help-commands
           or: setup.py cmd --help

        error: invalid command 'bdist_wheel'
        [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for install_freedesktop
      ERROR: Failed to build one or more wheels
      Traceback (most recent call last):
        File "C:\Users\oma\scoop\apps\python\current\lib\site-packages\setuptools\installer.py", line 82, in fetch_build_egg
          subprocess.check_call(cmd)
        File "C:\Users\oma\scoop\apps\python\current\lib\subprocess.py", line 369, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['C:\\Users\\oma\\scoop\\apps\\python\\current\\python.exe', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', 'C:\\Users\\oma\\AppData\\Local\\Temp\\tmpe41ckh6j', '--quiet', '--find-links', 'https://github.com/thann/install_freedesktop/tarball/master#egg=install_freedesktop-0.2.0', 'install_freedesktop>=0.2.0']' returned non-zero exit status 1.

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\oma\AppData\Local\Temp\pip-req-build-odt0i8u3\setup.py", line 27, in <module>
          setup(
        File "C:\Users\oma\scoop\apps\python\current\lib\site-packages\setuptools\__init__.py", line 86, in setup
          _install_setup_requires(attrs)
        File "C:\Users\oma\scoop\apps\python\current\lib\site-packages\setuptools\__init__.py", line 80, in _install_setup_requires
          dist.fetch_build_eggs(dist.setup_requires)
        File "C:\Users\oma\scoop\apps\python\current\lib\site-packages\setuptools\dist.py", line 875, in fetch_build_eggs
          resolved_dists = pkg_resources.working_set.resolve(
        File "C:\Users\oma\scoop\apps\python\current\lib\site-packages\pkg_resources\__init__.py", line 789, in resolve
          dist = best[req.key] = env.best_match(
        File "C:\Users\oma\scoop\apps\python\current\lib\site-packages\pkg_resources\__init__.py", line 1075, in best_match
          return self.obtain(req, installer)
        File "C:\Users\oma\scoop\apps\python\current\lib\site-packages\pkg_resources\__init__.py", line 1087, in obtain
          return installer(requirement)
        File "C:\Users\oma\scoop\apps\python\current\lib\site-packages\setuptools\dist.py", line 945, in fetch_build_egg
          return fetch_build_egg(self, req)
        File "C:\Users\oma\scoop\apps\python\current\lib\site-packages\setuptools\installer.py", line 84, in fetch_build_egg
          raise DistutilsError(str(e)) from e
      distutils.errors.DistutilsError: Command '['C:\\Users\\oma\\scoop\\apps\\python\\current\\python.exe', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', 'C:\\Users\\oma\\AppData\\Local\\Temp\\tmpe41ckh6j', '--quiet', '--find-links', 'https://github.com/thann/install_freedesktop/tarball/master#egg=install_freedesktop-0.2.0', 'install_freedesktop>=0.2.0']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

from play-with-mpv.

tunaflsh avatar tunaflsh commented on June 2, 2024

I have exactly the same problems

from play-with-mpv.

NormTurtle avatar NormTurtle commented on June 2, 2024

I have exactly the same problems

owner is sleeping :(

from play-with-mpv.

NormTurtle avatar NormTurtle commented on June 2, 2024

pip install --user wheel

what does wheel means?

from play-with-mpv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.