We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. I see that both numpy and bokeh are in the wasm, but when I try using bokeh, pygbag halts with the error:
1202: want='yaml' found : False PKG NOT FOUND : want='yaml', resume=<function at 0x1864780>, ex=ModuleNotFoundError("No module named 'yaml'")
Bokeh script works ok after I alter the script to go 'pygbagging', and shows a html file immediately in the browser. Script is simple:
`import numpy as np import yaml from bokeh.plotting import figure, show import asyncio
async def main(): x = np.arange(0, 10, 1) y1 = x ** 2 y2 = x ** 3 y3 = x ** 4
p = figure(title="Simple line charts", x_axis_label="x", y_axis_label="y") p.line(x, y1, legend_label="x2", line_width=2, color="red") p.line(x, y2, legend_label="x3", line_width=2, color="green") p.line(x, y3, legend_label="x4", line_width=2, color="blue") show(p) await asyncio.sleep(0)
asyncio.run(main())`
The text was updated successfully, but these errors were encountered:
The script does have the correct indentation, but pasting it into github messed it a little bit up. Is there any chance yaml will be added?
Sorry, something went wrong.
transfering issue to https://github.com/pygame-web/pkg-porting-wasm i guess yaml is binary and rely on libYaml
a pyyaml wheel ( in pure python mode ) has been added for testing use --git option on pygbag cmdline
--git
No branches or pull requests
Hi. I see that both numpy and bokeh are in the wasm, but when I try using bokeh, pygbag halts with the error:
1202: want='yaml' found : False
PKG NOT FOUND : want='yaml', resume=<function at 0x1864780>, ex=ModuleNotFoundError("No module named 'yaml'")
Bokeh script works ok after I alter the script to go 'pygbagging', and shows a html file immediately in the browser. Script is simple:
`import numpy as np
import yaml
from bokeh.plotting import figure, show
import asyncio
async def main():
x = np.arange(0, 10, 1)
y1 = x ** 2
y2 = x ** 3
y3 = x ** 4
asyncio.run(main())`
The text was updated successfully, but these errors were encountered: