Skip to content
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

[FEATURE] Work with Jupyter notebook? #20

Closed
jimdowling opened this issue Feb 17, 2022 · 2 comments
Closed

[FEATURE] Work with Jupyter notebook? #20

jimdowling opened this issue Feb 17, 2022 · 2 comments

Comments

@jimdowling
Copy link

Bug Description

I tried to run the simple examples from a jupyter notebook but got the following error message.
I didn't have time to look through the source code, but i assume this is some missing default.


Exception Traceback (most recent call last)
in
30 flow.inspect(peek)
31
---> 32 ec.build_and_run()

Exception: Unrecognized option: 'm'

image

Python version (python -V)

3.8

Bytewax version (pip list | grep bytewax)

0.7.0

Relevant log output

---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
<ipython-input-1-ded9d2dc59fa> in <module>
     30 flow.inspect(peek)
     31 
---> 32 ec.build_and_run()

Exception: Unrecognized option: 'm'

Steps to Reproduce

Start a jupyter notebook
Run the basic.py code in a notebook, removing the 'if main' condition.

@awmatheson
Copy link
Contributor

Thanks for opening this! The next release will be notebook compatible working on finalizing some things in #19 to make the experience better in notebooks.

@awmatheson
Copy link
Contributor

Notebooks will now work in release v0.7.1.

Another example notebook - #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants