Closed amyXia1994 closed 1 year ago
I try the same command on my m1 mac, it works well. The error appears to occur on llvm12 and clang-12. Can you try to use the clang default path /usr/bin/clang
that comes with your computer? Just rename /opt/homebrew/opt/llvm@12/bin/clang
to other names, such as /opt/homebrew/opt/llvm@12/bin/clang-bak
.
I try the same command on my m1 mac, it works well. The error appears to occur on llvm12 and clang-12. Can you try to use the clang default path
/usr/bin/clang
that comes with your computer? Just rename/opt/homebrew/opt/llvm@12/bin/clang
to other names, such as/opt/homebrew/opt/llvm@12/bin/clang-bak
.
I moved the clang installed by brew, and now which clang
points to /usr/bin/clang
And I tried again the same error still occours.
@amyXia1994. The way I can think of to walk around is brew install llvm@14
, I will try to remove the cffi
dependency later.
@amyXia1994. The way I can think of to walk around is
brew install llvm@14
, I will try to remove thecffi
dependency later.
Thanks, worked for me.
I've done brew uninstall llvm@12
and brew install llvm@14
, and I tried python3 -m pip install kclvm && python3 -m kclvm --help
again, all things go well
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
I run this command to install kclvm-py:
python3 -m pip install kclvm && python3 -m kclvm --help
and it failed when installing required package
cffi
:2. mac version
my mac version is: macOS Monterey 12.5.1 with M1 Pro chip