Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Fails due to Subproces #2

Open
seangibbz opened this issue Apr 22, 2024 · 0 comments
Open

Installation Fails due to Subproces #2

seangibbz opened this issue Apr 22, 2024 · 0 comments

Comments

@seangibbz
Copy link

seangibbz commented Apr 22, 2024

Attempting to install via pip results in the following error output:

PowerShell 7.4.2
PS C:\Users\Sean_> pip install deezer-playlist-generator
Collecting deezer-playlist-generator
  Downloading deezer_playlist_generator-1.0.3-py3-none-any.whl.metadata (4.2 kB)
Collecting requests==2.23.0 (from deezer-playlist-generator)
  Downloading requests-2.23.0-py2.py3-none-any.whl.metadata (6.8 kB)
Collecting tqdm==4.46.0 (from deezer-playlist-generator)
  Downloading tqdm-4.46.0-py2.py3-none-any.whl.metadata (52 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.5/52.5 kB 535.2 kB/s eta 0:00:00
INFO: pip is looking at multiple versions of deezer-playlist-generator to determine which version is compatible with other requirements. This could take a while.
Collecting deezer-playlist-generator
  Downloading deezer_playlist_generator-1.0.2-py3-none-any.whl.metadata (4.3 kB)
  Downloading deezer_playlist_generator-1.0.1-py3-none-any.whl.metadata (3.5 kB)
Collecting pygame==1.9.6 (from deezer-playlist-generator)
  Downloading pygame-1.9.6.tar.gz (3.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 2.0 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [83 lines of output]
      <string>:336: SyntaxWarning: invalid escape sequence '\d'
      <string>:343: SyntaxWarning: invalid escape sequence '\s'
      <string>:344: SyntaxWarning: invalid escape sequence '\s'
      <string>:345: SyntaxWarning: invalid escape sequence '\s'


      WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
      Using WINDOWS configuration...

      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:52: SyntaxWarning: invalid escape sequence '\.'
        self.find_lib = "%s\.(a|lib)" % re.escape(libs[0])
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:390: SyntaxWarning: invalid escape sequence '\.'
        find_header='SDL\.h')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:392: SyntaxWarning: invalid escape sequence '\.'
        find_header='SDL_ttf\.h')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:394: SyntaxWarning: invalid escape sequence '\.'
        ['SDL', 'jpeg', 'png', 'tiff'], 0, find_header='SDL_image\.h'),
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:396: SyntaxWarning: invalid escape sequence '\.'
        ['SDL', 'vorbisfile'], find_header='SDL_mixer\.h')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:399: SyntaxWarning: invalid escape sequence '\.'
        DEPS.add('PORTMIDI', 'portmidi', ['portmidi'], r'portmidi\.dll$', find_header='portmidi\.h')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:403: SyntaxWarning: invalid escape sequence '\.'
        find_header='ft2build\.h', find_lib='(lib)?freetype[-0-9]*\.lib')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:403: SyntaxWarning: invalid escape sequence '\.'
        find_header='ft2build\.h', find_lib='(lib)?freetype[-0-9]*\.lib')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:417: SyntaxWarning: invalid escape sequence '\.'
        DEPS.add('PORTMIDI', 'portmidi', ['portmidi'], r'portmidi\.dll$', find_header='portmidi\.h')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:423: SyntaxWarning: invalid escape sequence '\.'
        find_header='png\.h', find_lib='(lib)?png1[-0-9]*\.lib')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:423: SyntaxWarning: invalid escape sequence '\.'
        find_header='png\.h', find_lib='(lib)?png1[-0-9]*\.lib')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:425: SyntaxWarning: invalid escape sequence '\.'
        find_header='jpeglib\.h', find_lib='(lib)?jpeg-9\.lib')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:425: SyntaxWarning: invalid escape sequence '\.'
        find_header='jpeglib\.h', find_lib='(lib)?jpeg-9\.lib')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:430: SyntaxWarning: invalid escape sequence '\.'
        find_header='ft2build\.h', find_lib='(lib)?freetype[-0-9]*\.lib')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:430: SyntaxWarning: invalid escape sequence '\.'
        find_header='ft2build\.h', find_lib='(lib)?freetype[-0-9]*\.lib')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:456: SyntaxWarning: invalid escape sequence '\.'
        DEPS.add('PORTMIDI', 'portmidi', ['portmidi'], r'portmidi\.dll$', find_header='portmidi\.h')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:463: SyntaxWarning: invalid escape sequence '\.'
        find_header='ft2build\.h', find_lib='libfreetype[-0-9]*\.lib')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:463: SyntaxWarning: invalid escape sequence '\.'
        find_header='ft2build\.h', find_lib='libfreetype[-0-9]*\.lib')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:472: SyntaxWarning: invalid escape sequence '\.'
        find_header='png\.h', find_lib='(lib)?png1[-0-9]*\.lib')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:472: SyntaxWarning: invalid escape sequence '\.'
        find_header='png\.h', find_lib='(lib)?png1[-0-9]*\.lib')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:477: SyntaxWarning: invalid escape sequence '\.'
        find_header='jpeglib\.h', find_lib='(lib)?jpeg-9\.lib')
      C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py:477: SyntaxWarning: invalid escape sequence '\.'
        find_header='jpeglib\.h', find_lib='(lib)?jpeg-9\.lib')

      Download prebuilts to "prebuilt_downloads" and copy to "./prebuilt-x64"? [Y/n]Traceback (most recent call last):
        File "C:\Users\Sean_\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Users\Sean_\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Sean_\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Sean_\AppData\Local\Temp\pip-build-env-xgqcjobx\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Sean_\AppData\Local\Temp\pip-build-env-xgqcjobx\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "C:\Users\Sean_\AppData\Local\Temp\pip-build-env-xgqcjobx\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
          super().run_setup(setup_script=setup_script)
        File "C:\Users\Sean_\AppData\Local\Temp\pip-build-env-xgqcjobx\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 194, in <module>
        File "C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config.py", line 210, in main
          deps = CFG.main(**kwds)
                 ^^^^^^^^^^^^^^^^
        File "C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\config_win.py", line 576, in main
          and download_win_prebuilt.ask(**download_kwargs):
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Sean_\AppData\Local\Temp\pip-install-10a_qfnj\pygame_2f70dcd9003f4fa4973e03d5046d2b97\buildconfig\download_win_prebuilt.py", line 302, in ask
          reply = raw_input(
                  ^^^^^^^^^^
      EOFError: EOF when reading a line
      [end of output]

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

× Getting requirements to build wheel 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.

Python 3.12.3
pip 24.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant