You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I install the python bindings via these instructions and run python tests with python3 -m pytest test_python/ I get the following error:
_____________________________________ ERROR collecting test_python/test_pptraj.py ______________________________________
ImportError while importing test module '/home/knmcguire/development/bitcraze/c/crazyflie-firmware/test_python/test_pptraj.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
test_python/test_pptraj.py:4: in <module>
import cffirmware
/home/knmcguire/.local/lib/python3.8/site-packages/cffirmware-0.1-py3.8.egg/cffirmware.py:15: in <module>
???
E ModuleNotFoundError: No module named '_cffirmware'
I'll need to put the python bindings in PYTHONPATH in order to make it work: export PYTHONPATH=<PATH_TO_>/crazyflie-firmware/build:$PYTHONPATH
The text was updated successfully, but these errors were encountered:
not sure! but you can read it out by echo $PYTHONPATH 😄 its a collection of multiple paths in which python searches for any scripts. (this only works in ubuntu)
If I install the python bindings via these instructions and run python tests with
python3 -m pytest test_python/
I get the following error:I'll need to put the python bindings in PYTHONPATH in order to make it work:
export PYTHONPATH=<PATH_TO_>/crazyflie-firmware/build:$PYTHONPATH
The text was updated successfully, but these errors were encountered: