Open hanyuanzhong opened 4 months ago
@hong19860320 我已经找到原因,是因为python3.10的setuptools版本(69.5.1)太高了,使用pip install --upgrade setuptools==58.0.4 就可以编译通过,但是编译生成的whl安装之后版本是cd09a8e,是git的记录值,希望后面的版本能优化一下,兼容新的setuptools值
@hong19860320 这会导致我在安装的时候提示问题: DEPRECATION: paddlelite 7aa1db7ef has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of paddlelite or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063,或者联系作者,建议他们发布具有符合版本号的版本。讨论可以在https://github.com/pypa/pip/issues/12063上找到
@hong19860320 这会导致我在安装的时候提示问题: DEPRECATION: paddlelite 7aa1db7 has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of paddlelite or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063,或者联系作者,建议他们发布具有符合版本号的版本。讨论可以在https://github.com/pypa/pip/issues/12063上找到
1)Paddle Lite 版本:v2.13 2)Host 环境:树莓派5、Debian: 12.5---armv8 ----aarch64 GNU/Linux
- 编译/安装方式信息: 2)本地编译:./lite/tools/build_linux.sh --with_python=ON --with_cv=ON 经检查 "树莓派5 编译错误"- v2.13 编译报错、环境信息: (Linux raspberrypi 6.6.28+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64 GNU/Linux) #10517 :报错内容cd09a8e01 为是git describe --always 的版本号:
直接设置 PADDLELITE_TAG=v2.13-rc 试试? 或者将 https://github.com/PaddlePaddle/Paddle-Lite/blob/062bd0b89803018c8f4dc59097f0c140ef265af3/lite/api/python/setup.py.in#L31 修改为 PADDLELITE_VERSION = 'v0.0.' + PADDLELITE_COMMITE
1)Paddle Lite 版本:v2.13 2)Host 环境:树莓派5、Debian: 12.5---armv8 ----aarch64 GNU/Linux