Comments (12)
Did you wait for Python to initialize in the first cell before continuing to the next? (This is a known issue that should be addressed shortly). Python code won't work until "Python initialization is complete" is displayed in the console, which takes a few seconds depending on the speed of your connection.
from pyodide.
Here's where the solution is being worked on: iodide-project/iodide#554
from pyodide.
This should be resolved now, but it would be great to have confirmation from the original poster, @jedie.
from pyodide.
from pyodide.
Just to sanity check: You ran all cells above this one first, and the promise resolved? Is there anything in the Javascript console?
from pyodide.
That's it. I only ran the second one with:
{
"languageId": "py",
"displayName": "python",
"codeMirrorMode": "python",
"keybinding": "p",
"url": "https://iodide-project.github.io/pyodide-demo/pyodide.js",
"module": "pyodide",
"evaluator": "runPython",
"pluginType": "language"
}
from pyodide.
If you open the networking debug pane (Ctrl+Shift+E), reload the page and run those cells, are there any network errors?
from pyodide.
from pyodide.
Because of the long loading time, we added some visual actions while loading: Just print some "." see e.g.: http://pypyjs.org/editor.html
from pyodide.
Do you have any ad blockers on?
from pyodide.
Both the adblocking and Chrome compat issues should be resolved now. @jedie: as the OP, would you mind confirming that before I close this?
from pyodide.
I'm going to close this. I think it's been fixed for some time.
from pyodide.
Related Issues (20)
- request to add llama-index
- request to add langchain HOT 1
- request to add Boto3 HOT 4
- fastobo
- loadPackage() not to access the file system if the cache already exists HOT 2
- cvxpy-base 1.4.3 HOT 2
- html5_canvas_backend no longer works. HOT 1
- RFC Package unvendored stdlibs to sdist / wheel? HOT 3
- `make` in docker container `pyodide/pyodide-env` fails with `could not create work tree dir 'emsdk'` HOT 8
- DOM types in pyodide lead to build issues with Angular and typescript. HOT 3
- Request add to section-properies package
- feat: Resolving CORS Restrictions in Node.js HOT 2
- please make it work like normal python HOT 1
- STATUS_BREAKPOINT on Microsoft Edge HOT 1
- NextJS build fails with webpack error due to Pyodide import HOT 1
- `OSError: [Errno 8] Bad file descriptor` when trying to save `.npy` files HOT 1
- `pyodide build -h` should print help text HOT 1
- dependcy for open-interpreter HOT 6
- `crc32c` HOT 4
- `zstandard` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyodide.