adafruit / Adafruit_Blinka

Add CircuitPython hardware API and libraries to MicroPython & CPython devices
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux
MIT License
438 stars 328 forks source link

problem in running code in raspberry pi pico #806

Open mahaswishankar opened 2 months ago

mahaswishankar commented 2 months ago

Traceback (most recent call last): File "e:\code.py.py", line 9, in import board File "C:\Users\name\AppData\Roaming\Python\Python312\site-packages\board.py", line 399, in raise NotImplementedError( NotImplementedError: Adafruit-PlatformDetect version 3.62.0 was unable to identify the board and/or microcontroller running the Windows platform. Please be sure you have the latest packages by running: 'pip3 install --upgrade adafruit-blinka adafruit-platformdetect'

    If you are running the latest package, your board may not yet be supported. Please
    open a New Issue on GitHub at https://github.com/adafruit/Adafruit_Blinka/issues and
    select New Board Request.
caternuson commented 2 months ago

You can run CircuitPython natively on the Raspberry Pi Pico: https://circuitpython.org/board/raspberry_pi_pico/