carglglz / jupyter_upydevice_kernel Goto Github PK
View Code? Open in Web Editor NEWJupyter MicroPython Kernel made with upydevice
Home Page: https://pypi.org/project/jupyter-micropython-upydevice/
License: BSD 3-Clause "New" or "Revised" License
Jupyter MicroPython Kernel made with upydevice
Home Page: https://pypi.org/project/jupyter-micropython-upydevice/
License: BSD 3-Clause "New" or "Revised" License
Python Version: Python 3.9.1
jupyter_upydevice_kernel version: 0.0.4
When running install command, to add the kernel spec I get the following:
$ python3 -m mpy_kernel_upydevice.install
Traceback (most recent call last):
File "/usr/local/Cellar/[email protected]/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/Cellar/[email protected]/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.9/site-packages/mpy_kernel_upydevice/install.py", line 6, in <module>
from jupyter_client.kernelspec import KernelSpecManager
ModuleNotFoundError: No module named 'jupyter_client'
Suggestions?
I'm trying to connect to my ESP32 but it's not working. I can connect through %websocketconnect but serial connect is not working. When I try with a different kernel I can connect without any problem.
Is there a way to transfer files to the device from within a notebook? I'm currently using the notebook to prototype, and then when the code is ready I'd like to do
%local
%%writefile test.py
def adder(a, b):
return(a + b)
Followed by something like
%put test.py
Is there a way to accomplish this within the jupyter notebook?
Thanks
python version: Python 3.9.5
jupyter_upydevice_kernel version: 0.0.4
I'm successfully using jupyter_upydevice_kernel with pyboard stm32 and ESP32 but having issues with Raspberry pi pico.
For example :
[1] %serialconnect /dev/ttyACM1
** Serial connected **
/dev/ttyACM1
MicroPython v1.15 on 2021-04-18; Raspberry Pi Pico with RP2040
Type "help()" for more information.
[2] import uos
[3] uos.uname()
(sysname='rp2', nodename='rp2', release='1.15.0', version='v1.15 on 2021-04-18 (GNU 10.2.0 MinSizeRel)', machine='Raspberry Pi Pico with RP2040')
works fine but :
[4] import uos
uos.uname()
in the same cell ends with a busy kernel...
Tested with Micropython rp2 1.13, 1.14 and 1.15.
Thanks for your help !
Hello,
After running the install it ends up with the following errors.
$ pip install jupyter-micropython-upydevice -r requirements.txt
$ python -m mpy_kernel_upydevice.install
/usr/bin/python3.7: Error while finding module specification for 'mpy_kernel_upydevice.install' (ModuleNotFoundError: No module named 'mpy_kernel_upydevice')
Could you help me?
Thanks!
A JupyterLite build with this kernel
python -m http.server
doesn't do LetsEncrypt, so no auto HTTPS; which is necessary for various browser APIsjupyter lite build
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.