如果你的目标环境中的python是通过交叉编译自行生成的,可能会遇到这个提示
在你已经完成python的交叉编译后,你就需要crossenv,然后完成对应库的适配
#Make crossenv
pip install crossenv
python3 -m crossenv --without-pip $crosspy/bin/python3 /your/cross-env
#Activate
cd /your/cross-env/cross/bin
source activate
# install pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
# install dep libs,eg
pip install packaging numpy lark-parser netifaces
# copy dep-libs to $MODEL_INSTALL_PREFIX
cp -a /your/cross-env/cross/lib/python3.8/site-packages/packaging* $MODEL_INSTALL_PREFIX/lib/python3.8/site-packages/
......
- ModuleNotFoundError packaging module named 39modulenotfounderror module named 39 modulenotfounderror packaging module named modulenotfounderror watchdog module named modulenotfounderror module kornia named pytorch module named 39 modulenotfounderror module pandas named modulenotfounderror module infer named modulenotfounderror module named torch modulenotfounderror module lanms named common modulenotfounderror 39 package