Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Packages from PYPI to Pico board #145

Open
Netexcavator opened this issue Jan 6, 2025 · 1 comment
Open

Adding Packages from PYPI to Pico board #145

Netexcavator opened this issue Jan 6, 2025 · 1 comment
Labels
enhancement New feature or request MicroPython

Comments

@Netexcavator
Copy link

I realized when working with the extension that there is no way to import the library from something like PYPI like you can with Thonny. I did see on the MicroPico extension that there was a way to add MIP packages but none of the current MIP packages would work for what I am working on. Is there a way to do it currently or will it be added in the future?

@will-v-pi
Copy link
Collaborator

Currently you can do it manually by downloading the python files from the package you want and uploading them to the device, usually to the path /lib/<packageName>/__init__.py

Note that many libraries on PyPi will not work with MicroPython, as they require modules that MicroPython does not have (eg numpy, atexit)

@will-v-pi will-v-pi added the enhancement New feature or request label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request MicroPython
Projects
None yet
Development

No branches or pull requests

2 participants