Code Monkey home page Code Monkey logo

guru's Issues

Setup Instructions

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.