rljacobson / guru Goto Github PK
View Code? Open in Web Editor NEWA graphical front end to the Sage computer algebra system.
License: MIT License
A graphical front end to the Sage computer algebra system.
License: MIT License
I wanted to get the project running, so I first ran make
and the ui files got built successfully.
I then ran python Guru.py
but got the following error
Traceback (most recent call last):
File "Guru.py", line 3, in <module>
from guru.globals import startServerThread, cleanup
File "/home/dufferzafar/dev/clones/Guru/guru/globals.py", line 19, in <module>
import sagenb.misc.misc
ImportError: No module named sagenb.misc.misc
I figured the error was due to missing site-packages. So I changed that line to:
import site
site.addsitedir("/home/dufferzafar/dev/sage-6.4.1/local/lib/python2.7/site-packages")
As I have sage built from sources in this directory:
/home/dufferzafar/dev/sage-6.4.1
Again running python Guru.py
gives:
Traceback (most recent call last):
File "Guru.py", line 3, in <module>
from guru.globals import startServerThread, cleanup
File "/home/dufferzafar/dev/clones/Guru/guru/globals.py", line 32, in <module>
from sagenb.notebook.notebook import Notebook
File "/home/dufferzafar/dev/sage-6.4.1/local/lib/python2.7/site-packages/sagenb-0.11.1-py2.7.egg/sagenb/notebook/notebook.py", line 39, in <module>
from . import css # style
File "/home/dufferzafar/dev/sage-6.4.1/local/lib/python2.7/site-packages/sagenb-0.11.1-py2.7.egg/sagenb/notebook/css.py", line 17, in <module>
from sagenb.notebook.template import template
File "/home/dufferzafar/dev/sage-6.4.1/local/lib/python2.7/site-packages/sagenb-0.11.1-py2.7.egg/sagenb/notebook/template.py", line 23, in <module>
from sagenb.notebook.cell import number_of_rows
File "/home/dufferzafar/dev/sage-6.4.1/local/lib/python2.7/site-packages/sagenb-0.11.1-py2.7.egg/sagenb/notebook/cell.py", line 26, in <module>
from interact import (INTERACT_RESTART, INTERACT_UPDATE_PREFIX,
File "/home/dufferzafar/dev/sage-6.4.1/local/lib/python2.7/site-packages/sagenb-0.11.1-py2.7.egg/sagenb/notebook/interact.py", line 157, in <module>
from sage.misc.cachefunc import cached_method
ImportError: libcsage.so: cannot open shared object file: No such file or directory
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/dufferzafar/dev/sage-6.4.1/local/lib/python2.7/site-packages/sage/misc/temporary_file.py", line 51, in delete_tmpfiles
from sage.misc.misc import SAGE_TMP
File "/home/dufferzafar/dev/sage-6.4.1/local/lib/python2.7/site-packages/sage/misc/misc.py", line 47, in <module>
import sage.misc.prandom as random
File "/home/dufferzafar/dev/sage-6.4.1/local/lib/python2.7/site-packages/sage/misc/prandom.py", line 58, in <module>
from sage.misc.randstate import current_randstate
ImportError: libcsage.so: cannot open shared object file: No such file or directory
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/dufferzafar/dev/sage-6.4.1/local/lib/python2.7/site-packages/sage/misc/temporary_file.py", line 51, in delete_tmpfiles
from sage.misc.misc import SAGE_TMP
File "/home/dufferzafar/dev/sage-6.4.1/local/lib/python2.7/site-packages/sage/misc/misc.py", line 47, in <module>
import sage.misc.prandom as random
File "/home/dufferzafar/dev/sage-6.4.1/local/lib/python2.7/site-packages/sage/misc/prandom.py", line 58, in <module>
from sage.misc.randstate import current_randstate
ImportError: libcsage.so: cannot open shared object file: No such file or directory
Now I can't figure out the reason of this error. I've tried adding this, but nothing changed.
sys.path.append("/home/dufferzafar/dev/sage-6.4.1/local/lib")
Could you please provide some setup instructions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.