Git Product home page Git Product logo

Comments (5)

Ha5hBr0wn avatar Ha5hBr0wn commented on September 22, 2024

Okay I made some progress. So it looks like to install packages for the pipx environment one has to activate the venv and then run python -m pip install ipykernel (not just pip install, otherwise won't install for venv)

Now when I open a notebook file the editor immediately print some error lines which disappear instantly so I can't read them and then shows the editor (I can type in it but I can't execute code, nor is the menu bar visible so I just quit by closing the entire terminal window)

from euporie.

joouha avatar joouha commented on September 22, 2024

There's quite a lot going on here!

Euporie does not pull in any Jupyter kernels as dependencies - it's a Jupyter client, but you need to install a kernel yourself.

A Jupyter kernel does not have to be Python - there are kernels for many programming languages. ipykernel is a Jupyter kernel for the Python programming language. While it is technically possible to instally ipykernel inside your euporie pipx virtual-environment, it's almost certainly not what you want to do (you might want to uninstall it from the pipx virtual-environment). You probably want your Python kernel to be installed in your system-wide Python prefix.

You can do this by running the following (without any virtual environment activated):

pip install --upgrade ipykernel

You then need to register this ipykernel installation as your Python kernel of choice, which you can do by running the following:

python -m ipykernel install --user

Then you should be able to run code in euporie.


You can quit euporie by pressing Ctrl + q.

from euporie.

SimiPixel avatar SimiPixel commented on September 22, 2024

Exactly the same procedure but including a final python -m ipykernel install --user gives the following error message
Screenshot 2023-08-23 at 11 05 54
(the copy traceback button also doesn't do anything)

Any ideas how to provide good debugging information?

Also, iterm2 also doesn't allow for any keybinding to execute cells.

from euporie.

joouha avatar joouha commented on September 22, 2024

Also, iterm2 also doesn't allow for any keybinding to execute cells.

Ctrl+e and Ctrl+r should work.

Any ideas how to provide good debugging information?

If you run euporie-notebook with --log-level=debug --log-file=euporie.log, then debug info will be logged to the file euporie.log.

The main cause of the kernel related errors (as described in #75) should have been fixed by 3a5e39f. I'll be making a new release with this pretty soon.

from euporie.

joouha avatar joouha commented on September 22, 2024

Should be fixed, please open a new issues if you're still experiencing problems with the latest version of euporie

from euporie.

Related Issues (20)

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.