Skip to content

Dependency of PlaySound causes error #32

Description

@Hamzaishappy786

Collecting JarvisAI
Using cached JarvisAI-4.9-py3-none-any.whl.metadata (13 kB)
Requirement already satisfied: numpy in .\appdata\local\programs\python\python310\lib\site-packages (from JarvisAI) (1.26.4)
Collecting gtts (from JarvisAI)
Using cached gTTS-2.5.4-py3-none-any.whl.metadata (4.1 kB)
Collecting playsound (from JarvisAI)
Using cached playsound-1.3.0.tar.gz (7.7 kB)
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
╰─> [23 lines of output]
Traceback (most recent call last):
File "C:\Users\gamer\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 389, in
main()
File "C:\Users\gamer\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File "C:\Users\gamer\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\gamer\AppData\Local\Temp\pip-build-env-iwb18z78\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "C:\Users\gamer\AppData\Local\Temp\pip-build-env-iwb18z78\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "C:\Users\gamer\AppData\Local\Temp\pip-build-env-iwb18z78\overlay\Lib\site-packages\setuptools\build_meta.py", line 520, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\gamer\AppData\Local\Temp\pip-build-env-iwb18z78\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup
exec(code, locals())
File "", line 6, in
File "C:\Users\gamer\AppData\Local\Programs\Python\Python310\lib\inspect.py", line 1139, in getsource
lines, lnum = getsourcelines(object)
File "C:\Users\gamer\AppData\Local\Programs\Python\Python310\lib\inspect.py", line 1121, in getsourcelines
lines, lnum = findsource(object)
File "C:\Users\gamer\AppData\Local\Programs\Python\Python310\lib\inspect.py", line 958, in findsource
raise OSError('could not get source code')
OSError: could not get source code
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'playsound' when getting requirements to build wheel

It's time to upgrade the library and use this dependency:
playsound3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions