ipyp5 icon indicating copy to clipboard operation
ipyp5 copied to clipboard

Install Error

Open lmerritt47 opened this issue 4 years ago • 3 comments

IPYP5 Install Error

Is there a specific version of Python needed for this package to run? I'm trying to add this package to a new environment in Jupyter Notebooks but it's not working very well. I'd love to utilize this package to make a P5 tutorial for my college course. When I tried to download the ipyp5 package locally I kept getting the error: no module found. Is there a workaround for this or has this project kind of gone by the wayside? Any information is greatly appreciated.

lmerritt47 avatar Sep 30 '21 02:09 lmerritt47

Thanks @lmerritt47.

Unfortunately this project has been lagging a bit behind, but will hopefully be updated at some point soon.

In the meantime some efforts have been put into jupyterlite which is an in-browser JupyterLab distribution that also includes a p5.js kernel (in JavaScript not in Python): https://github.com/jupyterlite/jupyterlite/

jtpio avatar Sep 30 '21 07:09 jtpio

Thanks for your response, Does the P5 kernel on JupyterLite utilize the same conventions that the p5js.org website uses? Such as:

function setup () { } function draw () { }

Or is there a different way that it's coded?

lmerritt47 avatar Sep 30 '21 16:09 lmerritt47

Yes. There is this example: https://jupyterlite.github.io/demo/retro/notebooks/?path=p5.ipynb

image

Coming from this repo: https://github.com/jupyterlite/demo

jtpio avatar Oct 01 '21 09:10 jtpio