Replies: 2 comments 1 reply
-
随后,做了问题定位尝试 |
Beta Was this translation helpful? Give feedback.
0 replies
-
已解决,目前安装不再报错 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
在macbook pro m1上安装环境,新建了一个独立python环境,运行pip install -r requirements过程中报错:
Building wheels for collected packages: pymupdf, onnx
Building wheel for pymupdf (setup.py) ... error
error: subprocess-exited-with-error
具体报错信息是: In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/cstring:60:
/Library/Developer/CommandLineTools/usr/include/c++/v1/string.h:60:15: fatal error: 'string.h' file not found
#include_next <string.h>
^~~~~~~~~~
1 error generated.
简单讲,就是在路径/Library/Developer/CommandLineTools/usr/include/c++/v1/下找不到string.h,但也确实没有这个路径,我的机器设置
CPLUS_INCLUDE_PATH=/Library/Developer/CommandLineTools/usr/include/c++/v1/
C_INCLUDE_PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include
不知系统是怎么拼接的路径。
Beta Was this translation helpful? Give feedback.
All reactions