小编bei*_*433的帖子

安装playsound时如何修复“OSError:无法获取源代码”错误?

    Collecting playsound\n      Using cached playsound-1.3.0.tar.gz (7.7 kB)\n      Installing build dependencies ... done\n      Getting requirements to build wheel ... error\n      error: subprocess-exited-with-error\n\n      \xc3\x97 Getting requirements to build wheel did not run successfully.\n      \xe2\x94\x82 exit code: 1\n      \xe2\x95\xb0\xe2\x94\x80> [29 lines of output]\n          Traceback (most recent call last):\n            File "C:\\Users\\INTEL\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py", line 353, in <module>\n              main()\n            File "C:\\Users\\INTEL\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py", line 335, in main\n              json_out[\'return_val\'] = hook(**hook_input[\'kwargs\'])\n                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n            File "C:\\Users\\INTEL\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py", line 118, in get_requires_for_build_wheel\n              return hook(config_settings)\n                     ^^^^^^^^^^^^^^^^^^^^^\n            File "C:\\Users\\INTEL\\AppData\\Local\\Temp\\pip-build-env-9ac5eef9\\overlay\\Lib\\site-packages\\setuptools\\build_meta.py", line 341, in get_requires_for_build_wheel\n              return self._get_build_requires(config_settings, requirements=[\'wheel\'])\n …
Run Code Online (Sandbox Code Playgroud)

python python-playsound

9
推荐指数
3
解决办法
8961
查看次数

标签 统计

python ×1

python-playsound ×1