question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ipython and Jupyter aren't working

See original GitHub issue

Hi, I was trying to get Coconut to work with jupyter and ipython, but when I try to run anything, I get the following error message:

----------------------------------------------------------
TypeError                Traceback (most recent call last)
/usr/local/lib/python3.8/site-packages/IPython/core/async_helpers.py in _pseudo_sync_runner(coro)
 66     """
 67     try:
---> 68         coro.send(None)
 69     except StopIteration as exc:
 70         return exc.value

/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/coroutines.py in coro(*args, **kw)
122         @functools.wraps(func)
123         def coro(*args, **kw):
--> 124             res = func(*args, **kw)
125             if (base_futures.isfuture(res) or inspect.isgenerator(res) or
126                     isinstance(res, CoroWrapper)):

TypeError: run_cell_async() got an unexpected keyword argument 'transformed_cell'

This happens in Jupyter notebooks, in Jupyterlab and in the ipython repl.

What I’ve tried so far:

  • removing and reinstalling the coconut kernels
  • uninstalling coconut and installing coconut-develop
  • searching through the github issues for the same problem.

my OS is macOS Catalina, 10.15.6. I have python 3.8 installed via homebrew.

Is this something that has happened to more people? Is there a fix already or is this a new bug?

Thanks for coconut though, it’s a really cool language (and much less scary than something like Haskell (-; )

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
evhubcommented, Oct 27, 2020

@bj0 Great! Closing this issue as resolved. The fix will go out in the next release (and coconut-develop is available with the fix in the meantime).

1reaction
bj0commented, Oct 27, 2020

Removing the old version and reinstalling with your line made it work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jupyter notebook not running code. Stuck on In [*]
Go to the folder where you have your ipython notebook(.ipynb); Press shift and right click on the empty space then select "open command...
Read more >
Jupyter Notebook is not showing the output of any code ...
Hello, I am new to python. When I use Jupyter Notebook the code inside the cells won't execute and I get these empty...
Read more >
How to fix Kernel Error or broken Python in Jupyter Notebook
TL;DW BELOW! If you delete or upgrade your python version, you might get a Kernel Error when trying to use Jupyter Notebooks!
Read more >
Ipython and Jupyter aren't working - Bountysource
Hi, I was trying to get Coconut to work with jupyter and ipython, but when I try to run anything, I get the...
Read more >
Get Your Conda Environment to Show in Jupyter Notebooks
This only affects our base environment which we aren't going to use for any of our work anyway, right? :). Your other environments...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found