We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After installing kp, import kp throws an error.
kp
import kp
# use pip pip install kp # or compile from source git clone https://github.com/EthicalML/vulkan-kompute.git git submodule update --init --recursive python setup.py build python setup.py install
>>> import kp Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen(.../lib/python3.9/site-packages/kp-0.7.0-py3.9-macosx-11-arm64.egg/kp.cpython-39-darwin.so, 2): no suitable image found. Did find: .../lib/python3.9/site-packages/kp-0.7.0-py3.9-macosx-11-arm64.egg/kp.cpython-39-darwin.so: mach-o, but wrong architecture .../python3.9/site-packages/kp-0.7.0-py3.9-macosx-11-arm64.egg/kp.cpython-39-darwin.so: mach-o, but wrong architecture
The text was updated successfully, but these errors were encountered:
This can be caused by
uname -m
x86_64
Here's a couple of solutions:
-DCMAKE_OSX_ARCHITECTURES=arm64
pip install kp
See discussions in CMake and Homebrew for more information.
Sorry, something went wrong.
Closing as fix was merged
No branches or pull requests
Issue description
After installing
kp
,import kp
throws an error.Code example
System Info
The text was updated successfully, but these errors were encountered: