Page 1 of 1

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

Posted: Thu Jan 21, 2021 2:27 pm
by eydam-prototyping
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]

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

Posted: Thu Jan 28, 2021 5:23 pm
by eydam-prototyping
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...