Linking to Anaconda environment in Ubuntu
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Dokumentation
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- anaconda, python, ubuntu
- Bereich
- developer-experience, documentation
Rechercherichtung
Beginne mit dem Python-Importpfad in arrayfire/init.py und dem Code zum Laden der Bibliothek in arrayfire/library.py und lies anschließend das verlinkte ArrayFire Python wiki. Reproduziere den Importfehler in der Ubuntu-19.10-Anaconda-Umgebung und dokumentiere das unterstützte Setup; als erledigt gilt die Aufgabe, wenn der Leitfaden es Benutzern ermöglicht, ArrayFire aus /opt/arrayfire zu laden, ohne dass der RuntimeError auftritt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Hi.
Is there a guide on how to direct the Arrayfire installation to an Anaconda environment? I saw a couple of issues here, but they were based on Windows and Mac OS. I'm working with Ubuntu 19.10.
If I try to import Arrayfire in Python I get the following:
>>> import arrayfire
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/mario/anaconda3/lib/python3.7/site-packages/arrayfire/__init__.py", line 56, in <module>
from .library import *
File "/home/mario/anaconda3/lib/python3.7/site-packages/arrayfire/library.py", line 643, in <module>
backend = _clibrary()
File "/home/mario/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.
Please look at https://github.com/arrayfire/arrayfire-python/wiki for more information.
You can see that it's trying to look for Arrayfire in the anaconda3 folder, and it is obviously failing because my Arrayfire installation is in /opt/arrayfire/.
Any pointers to how I can fix this?
- Vorherrschende Sprache
- Python
- Sterne
- 422
- Forks
- 63
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus arrayfire/arrayfire-python
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
arrayfire/arrayfire-python#271 ·
-
Unwrap phase function Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
arrayfire/arrayfire-python#270 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
arrayfire/arrayfire-python#269 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 38/100
arrayfire/arrayfire-python#268 · 1 Kommentar ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
arrayfire/arrayfire-python#267 · 1 Kommentar · 1 Reaktion ·
Alle Issues in arrayfire/arrayfire-python
Ähnliche Issues
-
Add: hunch Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
DiamondLightSource/dodal#2211 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
openml/openml-python#1749 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
sipyourdrink-ltd/bernstein#6191 ·