zhenxun-org / zhenxun_bot_plugins_index

真寻bot的插件索引库
GNU Affero General Public License v3.0
397 stars 195 forks source link

mockingbird问题 #52

Closed eachbol2333 closed 2 years ago

eachbol2333 commented 2 years ago

进入虚拟环境后安装mockingbirdforuse时报错,python3-dev的话windows好像没法装,请大佬看看,我也安装了c++14 image

AkashiCoin commented 2 years ago

百度安装windows常用运行库

MingxuanGame commented 2 years ago

进入虚拟环境后安装mockingbirdforuse时报错,python3-dev的话windows好像没法装,请大佬看看,我也安装了c++14 image

参考 https://github.com/HibiKier/zhenxun_bot/issues/468

ayachimako commented 2 years ago

@AkashiCoin 大佬我解决了mockingbirdforuse的问题,现在是下载不了tencentcloud...试了用豆瓣的镜像源但好像不行 如图 图片

MingxuanGame commented 2 years ago

@AkashiCoin 大佬我解决了mockingbirdforuse的问题,现在是下载不了tencentcloud...试了用豆瓣的镜像源但好像不行 如图 图片

pip install tencentcloud-sdk-python
ayachimako commented 2 years ago

@AkashiCoin 大佬我解决了mockingbirdforuse的问题,现在是下载不了tencentcloud...试了用豆瓣的镜像源但好像不行 如图 图片

pip install tencentcloud-sdk-python

谢谢谢谢谢大佬,成功了

ayanami648 commented 2 years ago

进入虚拟环境后安装mockingbirdforuse时报错,python3-dev的话windows好像没法装,请大佬看看,我也安装了c++14 image

你好请问你解决问题了吗

eachbol2333 commented 2 years ago

并没有,重装后还是一样的报错

ayanami648 commented 2 years ago

并没有,重装后还是一样的报错

我百度下载了运行库后也是之前一样的错误

eachbol2333 commented 2 years ago

唉,我都快放弃了,搞了3天,也就一个插件而已

AkashiCoin commented 2 years ago

使用命令 pip install webrtcvad-wheels

eachbol2333 commented 2 years ago

使用命令pip install webrtcvad-wheels

命令搞过了,还是不行 C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools>pip install webrtcvad-wheels Requirement already satisfied: webrtcvad-wheels in c:\users\kodor\anaconda3\lib\site-packages (2.0.10.post2)

C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools>pip install webrtcvad Collecting webrtcvad Using cached webrtcvad-2.0.10.tar.gz (66 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: webrtcvad Building wheel for webrtcvad (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [19 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-39 copying webrtcvad.py -> build\lib.win-amd64-cpython-39 running build_ext building '_webrtcvad' extension creating build\temp.win-amd64-cpython-39 creating build\temp.win-amd64-cpython-39\Release creating build\temp.win-amd64-cpython-39\Release\cbits creating build\temp.win-amd64-cpython-39\Release\cbits\webrtc creating build\temp.win-amd64-cpython-39\Release\cbits\webrtc\common_audio creating build\temp.win-amd64-cpython-39\Release\cbits\webrtc\common_audio\signal_processing creating build\temp.win-amd64-cpython-39\Release\cbits\webrtc\common_audio\vad "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D_WIN32 -Icbits -IC:\Users\kodor\anaconda3\include -IC:\Users\kodor\anaconda3\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt" /Tccbits\pywebrtcvad.c /Fobuild\temp.win-amd64-cpython-39\Release\cbits\pywebrtcvad.obj pywebrtcvad.c C:\Users\kodor\anaconda3\include\pyconfig.h(59): fatal error C1083: 无法打开包括文件: “io.h”: No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for webrtcvad Running setup.py clean for webrtcvad Failed to build webrtcvad Installing collected packages: webrtcvad Running setup.py install for webrtcvad ... error error: subprocess-exited-with-error

× Running setup.py install for webrtcvad did not run successfully. │ exit code: 1 ╰─> [21 lines of output] running install C:\Users\kodor\anaconda3\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build\lib.win-amd64-cpython-39 copying webrtcvad.py -> build\lib.win-amd64-cpython-39 running build_ext building '_webrtcvad' extension creating build\temp.win-amd64-cpython-39 creating build\temp.win-amd64-cpython-39\Release creating build\temp.win-amd64-cpython-39\Release\cbits creating build\temp.win-amd64-cpython-39\Release\cbits\webrtc creating build\temp.win-amd64-cpython-39\Release\cbits\webrtc\common_audio creating build\temp.win-amd64-cpython-39\Release\cbits\webrtc\common_audio\signal_processing creating build\temp.win-amd64-cpython-39\Release\cbits\webrtc\common_audio\vad "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D_WIN32 -Icbits -IC:\Users\kodor\anaconda3\include -IC:\Users\kodor\anaconda3\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt" /Tccbits\pywebrtcvad.c /Fobuild\temp.win-amd64-cpython-39\Release\cbits\pywebrtcvad.obj pywebrtcvad.c C:\Users\kodor\anaconda3\include\pyconfig.h(59): fatal error C1083: 无法打开包括文件: “io.h”: No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2 [end of output]

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

× Encountered error while trying to install package. ╰─> webrtcvad

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

AkashiCoin commented 2 years ago

安装Windows 10 SDK

eachbol2333 commented 2 years ago

webrtcvad

还是不行,一样的报错

eachbol2333 commented 2 years ago

难不成真要换到linux系统吗

ayanami648 commented 2 years ago

难不成真要换到linux系统吗

请问你有进展吗 win环境下报错 我安装了sdk也无果

eachbol2333 commented 2 years ago

难不成真要换到linux系统吗

你有进展吗win环境下报错我要求安装了sdk也无果

现在是毫无进展