Error installing '...': , packages may be partially installed

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
User avatar
eydam-prototyping
Posts: 3
Joined: Thu Jan 21, 2021 2:18 pm
Contact:

Error installing '...': , packages may be partially installed

Post by eydam-prototyping » Thu Jan 21, 2021 2:27 pm

Hello,

I tried to make my first MicroPython-Module. I uploaded it to PyPi, but I can't install it using upip. Could someone please have a look?

The output of upip is:

Code: Select all

>>> import upip
>>> upip.debug=True
>>> upip.install("micropython-eydam-prototyping-logging")
Installing to: /lib/
Queue: ['micropython-eydam-prototyping-logging']
https://micropython.org/pi/micropython-eydam-prototyping-logging/json
https://pypi.org/pypi/micropython-eydam-prototyping-logging/json
Error installing 'micropython-eydam-prototyping-logging': , packages may be partially installed
I also tried:

Code: Select all

>>> upip.install_pkg("micropython-eydam-prototyping-logging", "/lib")
https://micropython.org/pi/micropython-eydam-prototyping-logging/json
https://pypi.org/pypi/micropython-eydam-prototyping-logging/json
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "upip.py", line 197, in install_pkg
AssertionError:
This is the URL to the package on PyPI:
https://pypi.org/project/micropython-ey ... g-logging/

This is the URL to the packag on github:
https://github.com/eydam-prototyping/tu ... ep_logging

[Edit: Changed the subject, maybe it was a bit misleading]

User avatar
eydam-prototyping
Posts: 3
Joined: Thu Jan 21, 2021 2:18 pm
Contact:

Re: Error installing '...': , packages may be partially installed

Post by eydam-prototyping » Thu Jan 28, 2021 5:23 pm

I tried some different ways (other parameters in setup, other folder structure, ...) but still get the same output. I can install it in normal Python using:

Code: Select all

pip3 install micropython-eydam-prototyping-logging
Is there a way to get more output from upip?

I don't have any more ideas...

Post Reply