Open haikerapples opened 1 year ago
pysilk-mod 包只在使用wechaty 语音功能时有用,你可以不安装它
pysilk-mod 包只在使用wechaty 语音功能时有用,你可以不安装它
我也遇到了这个问题(macos m1芯片)我就是想要用wechaty来回语音😭求问大佬怎么办
pysilk-mod 包只在使用wechaty 语音功能时有用,你可以不安装它
我也遇到了这个问题(macos m1芯片)我就是想要用wechaty来回语音😭求问大佬怎么办
macos 12 从源码安装成功
# 从源码安装
# 在继续之前,请确保你的环境支持编译C/C++文件
pip install git+https://github.com/DCZYewen/Python-Silk-Module
前置确认
⚠️ 搜索issues中是否已存在类似问题
操作系统类型?
MacOS
运行的python版本是?
python 3.10
使用的chatgpt-on-wechat版本是?
Master (branch)
运行的
channel
类型是?wx(个人微信, itchat)
复现步骤 🕹
安装pip install pysilk-mod 失败
问题描述 😯
src/silk/src/SKP_Silk_interpolate.c:28:10: fatal error: 'SKP_Silk_main.h' file not found
终端日志 📒
➜ chatgpt-on-wechat git:(master) pip install pysilk-mod Collecting pysilk-mod Using cached pysilk-mod-1.6.2.tar.gz (171 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: pysilk-mod Building wheel for pysilk-mod (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for pysilk-mod (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [31 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.macosx-13-arm64-cpython-311 creating build/lib.macosx-13-arm64-cpython-311/pysilk copying src/pysilk/init.py -> build/lib.macosx-13-arm64-cpython-311/pysilk copying src/pysilk/utils.py -> build/lib.macosx-13-arm64-cpython-311/pysilk copying src/pysilk/wav.py -> build/lib.macosx-13-arm64-cpython-311/pysilk copying src/pysilk/pysilk.py -> build/lib.macosx-13-arm64-cpython-311/pysilk copying src/pysilk/main.py -> build/lib.macosx-13-arm64-cpython-311/pysilk running egg_info writing src/pysilk_mod.egg-info/PKG-INFO writing dependency_links to src/pysilk_mod.egg-info/dependency_links.txt writing top-level names to src/pysilk_mod.egg-info/top_level.txt reading manifest file 'src/pysilk_mod.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'src/pysilk_mod.egg-info/SOURCES.txt' running build_ext clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c flagcheck.cpp -o flagcheck.o -std=c++17 building 'pysilk.coder' extension creating build/temp.macosx-13-arm64-cpython-311 creating build/temp.macosx-13-arm64-cpython-311/src creating build/temp.macosx-13-arm64-cpython-311/src/silk creating build/temp.macosx-13-arm64-cpython-311/src/silk/src clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DVERSION_INFO=1.6.2 -Isrc/silk/interface -I/private/var/folders/p9/_46m1wnx38s4wlgsz6mwxbbw0000gn/T/pip-build-env-02d2fpe9/overlay/lib/python3.11/site-packages/pybind11/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c src/silk/src/SKP_Silk_interpolate.c -o build/temp.macosx-13-arm64-cpython-311/src/silk/src/SKP_Silk_interpolate.o -mmacosx-version-min=10.14 -fvisibility=hidden -g0 -stdlib=libc++ src/silk/src/SKP_Silk_interpolate.c:28:10: fatal error: 'SKP_Silk_main.h' file not found
include "SKP_Silk_main.h"
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pysilk-mod Failed to build pysilk-mod ERROR: Could not build wheels for pysilk-mod, which is required to install pyproject.toml-based projects