Install/develop on MacBook, run on Raspberry Pi?
-
I see I wasn't as clear as I wanted. I meant that if you wanted to go with C++ then you'd have to cross-compile stuff.
-
Let's see... the PySide2 route fails at the step to install
pyside2
with either version tried:pip install --index-url=http://download.qt.io/snapshots/ci/pyside/5.12/latest pyside2 --trusted-host download.qt.io
It simply can't be found. Visiting the link above in a browser shows a variety of files which may be downloaded by
pip install
. Presumably the Raspberry Pi 3B's reported architecture with Python 2.7 doesn't match up to any of those wheels. :checking that theory:So it's not win_amd64, none-win32, manylinux1_x86_64, macosx_10_12_intel, manylinux1_x86_64, macosx_10_12_intel. The Raspberry Pi 3B would be something more like manylinux1_armv6 or manylinux1_armv7 perhaps but it's not available in the list as seen in Qt's stash.
PySide2-5.12.1a1.dev1547885753-5.12.0-cp35.cp36.cp37-none-win_amd64.whl PySide2-5.12.1a1.dev1547885753-5.12.0-cp35.cp36.cp37-none-win32.whl PySide2-5.12.1a1.dev1547885753-5.12.0-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl PySide2-5.12.1a1.dev1547885753-5.12.0-cp35.cp36.cp37-abi3-macosx_10_12_intel.whl PySide2-5.12.1a1.dev1547885753-5.12.0-cp27-cp27mu-manylinux1_x86_64.whl PySide2-5.12.1a1.dev1547885753-5.12.0-cp27-cp27m-macosx_10_12_intel.whl
And the EGLFS route fails at Step 10 on the
configure
command. (See error from linked post.)I can't use the Embedded Linux route since I need to install this on a particular Raspbian Stretch Lite image that's already somewhat configured.
-
Why not use the first version:
pip install PySide2
? -
Are you using a virtual environment ?
Or something like
macports
orbrew
? -
I'm using a virtual environment by which I mean:
source venv/bin/activate
-
What version of python are you using ?
-
Python 2.7
-
May I suggest to change for Python 3 ?
Python 2.7 will reached end of life next year so it's not a good idea to start a new project with it.