Code Monkey home page Code Monkey logo

Comments (3)

rljacobson avatar rljacobson commented on July 20, 2024

Guru uses a version of the notebook code from Sage that has been modified to not depend on the rest of Sage. When you added your Sage site-packages directory to the path, you essentially pointed Guru to an unmodified version of the notebook code, and that's what's causing your problem.

To get a working app, what you really want is the Guru-NB project, https://github.com/rljacobson/Guru-NB. It should have all it's dependencies included (though honestly it might not). You shouldn't need to monkey with the site-packages. Just cd to the Guru-NB directory and run python Guru.py. When you create your first worksheet, it should prompt you to identify the location of your Sage installation. Be patient when executing your first command on your first notebook, as it takes a bit of time for Sage to start.

You're welcome to hack away at this project, but I have actually suspended my own work on Guru after conversations with Sage/SageMathCloud's lead developer. The SageMathCloud (SMC) notebook interface was recently open-sourced, and I think it makes much more sense to use SMC as a basis for a standalone notebook interface than it does to use the old Sage Notebook as Guru currently does.

from guru.

dufferzafar avatar dufferzafar commented on July 20, 2024

Two packages namely Jinja2 and markupsafe were missing from the site-packages directory. I added those and ran Guru but got this :/

[1]    5650 segmentation fault (core dumped)  python Guru.py

from guru.

rljacobson avatar rljacobson commented on July 20, 2024

Sorry for the delayed response.

That is an unfortunate failure. Doesn't give us much to go on. My guess at this point is that there's a problem with your pyside installation. I am not sure how to advise you at this point. If you figure out the problem, please come back and let me know.

from guru.

Related Issues (1)

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.