Open feincrafts opened 1 month ago
@feincrafts all demos in here have been tested locally and successfully so ... I wonder if you read until the last paragraph which is mandatory to have pyodide packages working: https://docs.pyscript.net/2024.5.2/user-guide/offline/#local-pyodide-packages
@WebReflection Thank you for your response. I forgot to mention in my original post I did copy the contents of the pyodide package into my public/pyodide folder, although perhaps I messed something up with the path. I'll play around with fixing it on my end. The file structure of pyodide 0.25.1 doesn't contain a pyodide subfolder, which might have been the source of my confusion.
Checklist
What happened?
I'm following along with the following Pyscript "Use Offline" guide (pasted below) and was following along issue-free until I got to the "Local Pyodide packages" section. The previous demo code works, so then I tried to copy the pandas html code in my index.html. This throws a stream of errors in the console and nothing loads on the page.
I have also changed the first few default script lines to see if this fixes the error, and it only gives one error message but it is still not fixed.
Pasted a bunch of hopefully relevant information below. I tried to look into this but am pretty new to PyScript so please forgive me if there's been a similar issue solved that I missed in my search. Thank you so much for any help!
Context: Using MacOS, pyodide 0.25.1 , tried in both Firefox and Chrome. Happy to provide additional information if needed. Followed tutorial exactly up until this point.
Guide: Use Offline
What browsers are you seeing the problem on? (if applicable)
Firefox, Chrome
Console info
Additional Context
Screenshot of Error on Page With Debugging
Screenshot of Error in Console With Debugging
Screenshot of Errors in Console No Debugging (Hash Redacted)