Code Monkey home page Code Monkey logo

jupyter_upydevice_kernel's People

Contributors

carglglz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jupyter_upydevice_kernel's Issues

ModuleNotFound on install

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?

Transfer files to device?

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

Raspberry pi pico rp2

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 !

problems installing on raspberry pi

Hello,

After running the install it ends up with the following errors.

$ pip install jupyter-micropython-upydevice -r requirements.txt

  1. Using cached https://www.piwheels.org/simple/esptool/esptool-2.8-py3-none-any.whl (136 kB)
  2. ERROR: Could not find a version that satisfies the requirement mpy-cross (from upydev>=0.3.1->upydevice>=0.2.3->jupyter-micropython-upydevice) (from versions: none)
  3. ERROR: No matching distribution found for mpy-cross (from upydev>=0.3.1->upydevice>=0.2.3->jupyter-micropython-upydevice)

$ 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!

ENH: JupyterLite WASM build

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.