Open Alexofhtek opened 7 months ago
I can confirm this to be a problem also on MacOS with pip 23.3.1 python 3.11
Also on windows with latest pip & python
Can confirm for Windows Python 3.11.7, pip 23.3.1 facing the same issue!
pip install playsound@git+https://github.com/taconi/playsound
This command can be used temporarily for installing the package tho.
pip install wheel
pip install playsound
this fixed the issue for me
pip install wheel
pip install playsound
this fixed the issue for me
Can confirm. This worked for Python 3.11.7, pip 23.3.2
Not working for me on python 3.12.1, pip 23.3.2. I've tried installing wheel first.
Not working for me on python 3.12.1, pip 23.3.2. I've tried installing wheel first.
Try using python 3.7, many modules don't have support for the newer versions of python Also, you may come across times you want to use deprecated modules, and python 3.7 still works for a load of them
pip install wheel
pip install playsound
this fixed the issue for me
Can confirm, this worked on Python 3.11.1 and pip 24.0
pip install wheel
pip install playsound
this fixed the issue for me Though I had to download the playsound package and install it manually, for python 3.10
pip install playsound@git+https://github.com/taconi/playsound
This command can be used temporarily for installing the package tho.
Thanks @taconi @KartikJain14
pip install wheel
pip install playsound
this fixed the issue for me
Worked for me after hours of pain!
RUN python3 -m pip install --upgrade pip && \
python3 -m pip install setuptools wheel && \
python3 -m pip install --upgrade setuptools wheel && \
python3 -m venv .venv && . .venv/bin/activate && \
pip install -r requirements.txt
pip install wheel
pip install playsound
this fixed the issue for me Installed playsound-1.3.0 eventually with Python 3.11.8 via pip 24.0. Thank you so much!
worked for me on Fedora
pip install wheel
try this if anyone is working on VSCode, it worked for me and I had the same issue.
pip install playsound@git+https://github.com/taconi/playsound
This command can be used temporarily for installing the package tho.
This worked for me
- pip install setuptools wheel
- pip install --upgrade setuptools wheel
- pip install playsound
worked for me on Fedora
This one Worked for me in version 3.12...Thank you!!!
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [28 lines of output] Traceback (most recent call last): File "C:\Users\alexo\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\alexo\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\alexo\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\alexo\AppData\Local\Temp\pip-build-env-7t7l9v70\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\alexo\AppData\Local\Temp\pip-build-env-7t7l9v70\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\alexo\AppData\Local\Temp\pip-build-env-7t7l9v70\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "C:\Users\alexo\AppData\Local\Temp\pip-build-env-7t7l9v70\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 6, in
File "C:\Users\alexo\AppData\Local\Programs\Python\Python312\Lib\inspect.py", line 1282, in getsource
lines, lnum = getsourcelines(object)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alexo\AppData\Local\Programs\Python\Python312\Lib\inspect.py", line 1264, in getsourcelines
lines, lnum = findsource(object)
^^^^^^^^^^^^^^^^^^
File "C:\Users\alexo\AppData\Local\Programs\Python\Python312\Lib\inspect.py", line 1093, 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: 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.
Here is what i have tried: pip install --upgrade setuptools pip install --upgrade wheel python --m pip install playsound python.exe -m pip install --upgrade pip
Also this is not an error with PIP as statedd above in the bolded text