upip to mip migration #9565
-
Hi, I understand that mip replaces upip, but I can't install my normal required packages with mip - I'm wondering did they change name, or can I direct mip to a different url to pick up the old packages? I tried searching, but I can't find any migration tips - reaching out for help. I'm using the rpi pico-w board. This is my old installation script:
example result:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 9 replies
-
Hi @simonmccaughey -- thanks for raising this, it's difficult to know how people were previously using This actually perfectly highlights one of the things we were keen to leave behind with In this case: Anyway, to answer your question, here's how you install the first two now:
For logging, i'm not sure why the pypi package was called ulogging, the version in micropython-lib is called "logging". I've confirmed this is definitely the same code. For ssd1306, the official driver is now in micropython lib and therefore in This has the advantage of installing the pre-compiled .mpy file for these two libraries (whereas Picoweb is more complicated. There is no
FWIW, I would recommend looking at |
Beta Was this translation helpful? Give feedback.
-
Hi,
Thanks for the update. It works well now.
*_____________________________________________________________*
*Thanks*
*Guruprasad NK | *+91 98718 43210
Founder & CEO* | **Solidz.IO*
…On Sat, Nov 5, 2022 at 5:36 PM Jim Mussared ***@***.***> wrote:
Add a file named /lib/ulogging.py that contains from logging import *. Or
modify picoweb to use logging instead of ulogging before copying it to
your device.
—
Reply to this email directly, view it on GitHub
<#9565 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3VWIEPJLEHKGBRDJ2X4O3TWGZEVBANCNFSM6AAAAAARBCR3Y4>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Upip does not work now which is such a big disaster. GitHub is blocked in some country so mip install from GitHub won't work on the device. Everything has to be manually download on a computer with proxy and manually upload them to device now. What's the story for changing upip to mip? |
Beta Was this translation helpful? Give feedback.
-
hi, i just discovered that upip has been replaced with mip and have some issues as well. Based on this discussions i wanted to upload a max30102 driver , by doing the following
could you please help in getting this fixed? |
Beta Was this translation helpful? Give feedback.
-
Is this the appropriate place to say "Please put it back?" Mip doesn't have anywhere remotely near the library that upip did. I did get a package I was looking for installed six months ago but I've since forgotten and it doesn't seem to have gotten any better. |
Beta Was this translation helpful? Give feedback.
Hi @simonmccaughey -- thanks for raising this, it's difficult to know how people were previously using
upip
.This actually perfectly highlights one of the things we were keen to leave behind with
mip
--upip
was actually quite confusing as to where the packages actually came from. Also the difference between "foo" and "micropython-foo". The idea now is that everything comes from micropython-lib, unless it's via a custom URL (i.e. starts with http:// or github:), or using a custom index (via the index kwarg).In this case:
micropython-ulogging
-- this actually came from micropython-lib.micropython-ssd1306
-- this was forked from the official driver by someone just for the purpose of makin…