Paddle-Lite icon indicating copy to clipboard operation
Paddle-Lite copied to clipboard

"树莓派5 编译错误"- v2.13 编译报错 cd09a8e01、环境信息:(Debian arm64 ----armv8 ) ,经检查“cd09a8e01”是git describe --always 值

Open hanyuanzhong opened this issue 1 year ago • 3 comments

   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 经检查 #10517 :报错内容cd09a8e01 为是git describe --always 的版本号: image image

hanyuanzhong avatar May 20 '24 02:05 hanyuanzhong

@hong19860320 我已经找到原因,是因为python3.10的setuptools版本(69.5.1)太高了,使用pip install --upgrade setuptools==58.0.4 就可以编译通过,但是编译生成的whl安装之后版本是cd09a8e,是git的记录值,希望后面的版本能优化一下,兼容新的setuptools值 image

hanyuanzhong avatar May 22 '24 11:05 hanyuanzhong

@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上找到

hanyuanzhong avatar May 23 '24 00:05 hanyuanzhong

@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

直接设置 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

hong19860320 avatar May 23 '24 12:05 hong19860320

您好,如果没有进一步的问题,我先把这个issue关闭了。如果还有问题,您随时可以 Reopen。

iosmers avatar Jan 24 '25 05:01 iosmers