Linking to Anaconda environment in Ubuntu
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 25/100
- Issue 類型
- 文件
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- anaconda, python, ubuntu
研究方向
先查看 arrayfire/init.py 中的 Python 匯入路徑和 arrayfire/library.py 中的函式庫載入程式碼,然後閱讀連結的 ArrayFire Python wiki。在 Ubuntu 19.10 Anaconda 環境中重現匯入失敗,並記錄受支援的設定;當指南能讓使用者從 /opt/arrayfire 載入 ArrayFire 且不會出現 RuntimeError 時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
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?
- 主要語言
- Python
- 星號
- 422
- 分支
- 63
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
arrayfire/arrayfire-python 的其他 Issue
-
難度 5/5 一週以上 新手友好度 25/100
arrayfire/arrayfire-python#271 ·
-
難度 5/5 一週以上 新手友好度 25/100
arrayfire/arrayfire-python#270 ·
-
難度 4/5 3-5 天 新手友好度 35/100
arrayfire/arrayfire-python#269 ·
-
難度 4/5 3-5 天 新手友好度 38/100
arrayfire/arrayfire-python#268 · 1 則留言 ·
-
難度 3/5 1-2 天 新手友好度 48/100
arrayfire/arrayfire-python#267 · 1 則留言 · 1 個 reaction ·
查看 arrayfire/arrayfire-python 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 90/100
learningequality/ricecooker#747 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
難度 2/5 1-3 小時 新手友好度 72/100
-
難度 2/5 1-3 小時 新手友好度 76/100
run-llama/llama_index#23199 ·
-
難度 2/5 1-3 小時 新手友好度 84/100
KhronosGroup/glTF-Blender-IO#2769 ·