-
Notifications
You must be signed in to change notification settings - Fork 90
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
all packages throw 403 error #27
Comments
I'm not sure either. My test script works: $ micropip.py install -p ~/rats micropython-copy
Installing to: /home/adminpete/rats/
Warning: micropython.org SSL certificate is not validated
Installing micropython-copy 3.3.3.post2 from https://micropython.org/pi/copy/copy-3.3.3.post2.tar.gz
[adminpete@capybara]: /mnt/qnap2/data/Projects/MicroPython/micropython-samples/micropip
$ cd
[adminpete@capybara]: ~
$ cd rats/
[adminpete@capybara]: ~/rats
$ ll
total 12
-rw-rw-r-- 1 adminpete adminpete 8859 Jan 29 10:19 copy.py The >>> upip.install("micropython-rosserial")
Installing to: /lib/
Warning: micropython.org SSL certificate is not validated
Installing micropython-rosserial 0.2.8 from https://files.pythonhosted.org/packages/c5/e0/3b232b334011948b543811d3b9ed2e9ad9973ec2aa27dcb6b42156a082f3/micropython-rosserial-0.2.8.tar.gz
Error installing 'micropython-rosserial': [Errno 22] EINVAL, packages may be partially installed
>>> I then went on to install "mcropython-copy" and to check the outcome of both installs. >>> upip.install("micropython-copy")
Installing to: /lib/
Installing micropython-copy 3.3.3.post2 from https://micropython.org/pi/copy/copy-3.3.3.post2.tar.gz
>>>
/home/adminpete/Downloads> ls /pyboard/lib/
copy.py
/home/adminpete/Downloads> So it correctly installed This suggests that either there is a problem with the package, or there is a bug or limitation in Sorry I can't offer anything more authoritative. |
Thanks for the swift reply and your time for testing it. |
It is possible to run official However, as a straight port of |
I have updated the micropip README to explain this issue. |
I can't install any micropython package. All packages throw an error 403. The json in the pypi URL exists.
I have no idea on where to start searching. Can someone maybe point me to the right direction? Thanks!
python3 -m micropip install micropython-rosserial
results in:
Installing to: /home/robo/Downloads/
Queue: ['micropython-rosserial']
https://micropython.org/pi/micropython-rosserial/json
Warning: micropython.org SSL certificate is not validated
https://pypi.org/pypi/micropython-rosserial/json
Error installing 'micropython-rosserial': b'403', packages may be partially installed
The text was updated successfully, but these errors were encountered: