New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jupyter can't connect to kernel #1128
Comments
What is the console output after running |
It repeats the answer of it being a hidden package ad nauseam until it gives this:
I can't start it from the globally-installed package? |
I think the issue is that IHaskell depends on the GHC_PACKAGE_PATH=~/.ghc/x86_64-linux-8.6.5/package.conf.d jupyter notebook |
It says my GHC_PACKAGE_PATH is |
I don't think that's a good idea. Where did you install IHaskell to with Edit: |
It shows up as an installed binary in
It doesn't. It fails with the same error. Should I remove the GHC package from my distro and reinstall it as a normal user with ghcup before reconfiguring cabal-install for it? |
No, there's no reason to blow up your whole Haskell setup just because this one package doesn't work. Can you try installing the |
It says it's already installed, and I get the same error when running Jupyter again. I don't have much of a Haskell setup right now - I'm new to the language. I might start all over again and give Stack another chance - everything assumes Stack usage, it seems. |
We have instructions for using Stack because it's commonly used, but there's no fundamental reason why IHaskell won't work with Cabal. |
Okay, here are instructions that worked for me:
$ GHC_PACKAGE_PATH=~/.cabal/store/ghc-8.6.5/package.db/:/nix/store/xf5zihz12kszk0xiv6c0d0psc0mj10xs-ghc-8.6.5/lib/ghc-8.6.5/package.conf.d jupyter notebook Can you try this and see if it works for you? |
I installed IHaskell with these commands:
Jupyter lists Haskell as a kernel option, but all attempts to start the kernel fail.
I'm on Void Linux, with GHC 8.6.5 and Cabal 3.0.0.0
The text was updated successfully, but these errors were encountered: