如果你的目标环境中的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/
......
标签:named,No,cross,module,packaging,编译,crossenv,install,pip From: https://www.cnblogs.com/sciapex/p/17880433.html