Open alexblack opened 8 years ago
using pip install --no-index *.whl -U
seems to work since there is no .wheelhouse
folder (that seems like a solo-cli thing) but, then I get #298
According to the guide, those first commands should be run in your laptop and not on Solo.
Read the link I provided :) You end up running similar instructions on both.
Ups, sorry, the page hadn't completely loaded so I missed it. May I ask why you are trying to do this instead of using solo-cli pack?
Tried that first, hit https://github.com/dronekit/dronekit-python/issues/524
It seems the issue is that it is packaging the wrong pymavlink. Can you post the log from running solo script pack
?
(ddc) Alexs-MacBook-Air:solo alex$ solo script pack
checking Internet connectivity...
Creating script archive...
site packages directory: /var/folders/df/wzvlvcy95hjbvjmwljpf8q280000gn/T/tmpwaYJ5w/content/env/lib/python2.7/site-packages
script is at /var/folders/df/wzvlvcy95hjbvjmwljpf8q280000gn/T/tmpoL5mJg
Requirement already satisfied (use --upgrade to upgrade): wheel in ./env/lib/python2.7/site-packages
script is at /var/folders/df/wzvlvcy95hjbvjmwljpf8q280000gn/T/tmpLpsZSz
Collecting dronekit==2.4.0 (from -r requirements.txt (line 1))
Saved ./wheelhouse/dronekit-2.4.0-cp27-none-any.whl
Collecting pymavlink>=1.1.62 (from dronekit==2.4.0->-r requirements.txt (line 1))
Saved ./wheelhouse/pymavlink-1.1.72-cp27-cp27m-macosx_10_11_x86_64.whl
Collecting monotonic<1.0 (from dronekit==2.4.0->-r requirements.txt (line 1))
Saved ./wheelhouse/monotonic-0.6-cp27-none-any.whl
Skipping dronekit, due to already being wheel.
Skipping pymavlink, due to already being wheel.
Skipping monotonic, due to already being wheel.
Creating tarball (solo-script.tar.gz)
Can you run this command in Solo: python -c "import distutils.util; print(distutils.util.get_platform())"
?
root@3dr_solo:/opt/ddc# python -c "import distutils.util; print(distutils.util.get_platform())" linux-armv7l
Ok, when you execute the line pip wheel -r ./requirements.txt --build-option="--plat-name=py27"
can you replace the py27 with the linux-armv7l?
Hi, I'm trying to follow along here:
https://dev.3dr.com/advanced-python.html
Logs from solo showing error:
Here are some logs from my laptop: