1
我正在嘗試利用Eclipse IDE環境與使用Pydev擴展的SAGE。配置Pydev(Eclipse)使用Sage
我在這裏按照以下步驟爲綱,在http://groups.google.com/group/sage-support/browse_thread/thread/628b80e6bebcc317
執行一個簡單的代碼
import sys
from sage.all import *
print ("2")
給我一個錯誤有以下回溯
Traceback (most recent call last):
File "/Users/username/Documents/eclipse/python/test2.py", line 2, in <module>
from sage.all import *
File "/Users/username/Desktop/sage/local/lib/python2.6/site-packages/sage/all.py", line 63, in <module>
from sage.ext.c_lib import _init_csage, sig_on_count
ImportError: dlopen(/Users/username/Desktop/sage/local/lib/python2.6/site- packages/sage/ext/c_lib.so, 2): Library not loaded: libcsage.dylib
Referenced from: /Users/username/Desktop/sage/local/lib/python2.6/site-packages/sage/ext/c_lib.so
Reason: image not found
正如指令,試圖從終端窗口(OSX Lion)執行eclipse以下
$sage -sh
$eclipse
只給了我下面的回溯
-bash: -sh: command not found
任何幫助,將不勝感激,SAGE的筆記本()IDE工作正常,但我還想能夠使用Eclipse IDE環境,而不是在線服務器瀏覽器。