Closed jcl2023 closed 1 year ago
did you run get_dependencies.sh
after pipenv shell
?
Just ran ./get_requirements.sh after pipenv shell, still got errors with scons
Successfully installed Jinja2-3.0.3 MarkupSafe-2.1.2 astroid-2.5 atomicwrites-1.4.0 casadi-3.5.5 cffi-1.15.1 cfgv-3.3.1 charset-normalizer-2.1.1 crcmod-1.7 distlib-0.3.6 entrypoints-0.3 filelock-3.10.7 flake8-3.7.9 future-fstrings-1.2.0 hexdump-3.3 identify-2.5.22 isort-4.3.21 lazy-object-proxy-1.9.0 libusb1-2.0.1 lmdb-1.3.0 mccabe-0.6.1 nodeenv-1.7.0 nose-1.3.7 numpy-1.22.4 parameterized-0.8.1 platformdirs-3.2.0 pre-commit-2.13.0 psutil-5.8.0 pycapnp-1.0.0 pycodestyle-2.5.0 pycparser-2.21 pycryptodome-3.9.8 pycurl-7.45.1 pyflakes-2.1.1 pylint-2.5.2 pyzmq-22.2.1 requests-2.28.1 scipy-1.9.1 scons-4.3.0 sentry-sdk-1.10.1 smbus2-0.4.2 tenacity-8.0.1 toml-0.10.2 tqdm-4.64.0 virtualenv-20.21.0 wrapt-1.12.1 (flowpilot) root@legion:~/flowpilot# scons scons: Reading SConscript files ... ModuleNotFoundError: No module named 'Crypto': File "/root/flowpilot/SConstruct", line 175: SConscript(['panda/board/SConscript']) File "/usr/lib/scons/SCons/Script/SConscript.py", line 660: return method(*args, *kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 597: return _SConscript(self.fs, files, **subst_kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 286: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals) File "/root/flowpilot/panda/board/SConscript", line 132: certs = [get_key_header(n) for n in ["debug", "release"]] File "/root/flowpilot/panda/board/SConscript", line 132: certs = [get_key_header(n) for n in ["debug", "release"]] File "/root/flowpilot/panda/board/SConscript", line 102: from Crypto.PublicKey import RSA
After exit pipenv and re-enter again, scons compiles OK now. Not sure why. How to run it and what to expect to see on the screen? My PC has webcam attached to it.
Thanks,
in launch_flowpilot.sh
, set camera_source="0" to get webcam working.
Works OK with launch_flowpilot.sh. Waiting for token from you. How long will it take to send token out?
backend is down at the moment, you can use this python script to skip login
from common.params import Params
Params().put("UserID", "000000")
and restart
Where should I add this script?
Thanks,
Ignore my previous question
I follow installation instructions below and got erros at step 3, scons:
1) cd ~/flowpilot 2) pipenv shell 3) scons
(flowpilot) root@legion:~/flowpilot# scons scons: Reading SConscript files ... ModuleNotFoundError: No module named 'Crypto': File "/root/flowpilot/SConstruct", line 175: SConscript(['panda/board/SConscript']) File "/usr/lib/scons/SCons/Script/SConscript.py", line 660: return method(*args, *kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 597: return _SConscript(self.fs, files, **subst_kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 286: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals) File "/root/flowpilot/panda/board/SConscript", line 132: certs = [get_key_header(n) for n in ["debug", "release"]] File "/root/flowpilot/panda/board/SConscript", line 132: certs = [get_key_header(n) for n in ["debug", "release"]] File "/root/flowpilot/panda/board/SConscript", line 102: from Crypto.PublicKey import RSA
Also do "pip install Crypto", but the issue still exists.
Please help