arrayfire / arrayfire/arrayfire-python

RuntimeError: Could not load any ArrayFire libraries.

Aperta
#239 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
422
Fork
63
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi, I am using MACOS, I have 1. Download and install binaries 2. pip install arrayfire 3. export DYLD_LIBRARY_PATH=/opt/arrayfire/lib:$DYLD_LIBRARY_PATH

It can be used with command line
Screenshot 2020-10-15 at 08 29 41

But when I use the same conda environment and `python VeM.py` which is a script containing import arrayfire, it shows
```
Traceback (most recent call last):
File "/Users/zetao/Documents/code/edu/python_code/first_try/VEM_deblur.py", line 3, in
import arrayfire as af
File "/Users/zetao/opt/anaconda3/lib/python3.7/site-packages/arrayfire/__init__.py", line 56, in
from .library import *
File "/Users/zetao/opt/anaconda3/lib/python3.7/site-packages/arrayfire/library.py", line 643, in
backend = _clibrary()
File "/Users/zetao/opt/anaconda3/lib/python3.7/site-packages/arrayfire/library.py", line 619, in __init__
raise RuntimeError("Could not load any ArrayFire libraries.\n" + more_info_str)
RuntimeError: Could not load any ArrayFire libraries.
```
Can anyone kindly explain why?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.