Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hanyuanzhong opened this issue May 20, 2024 · 3 comments
Assignees

Comments

@hanyuanzhong
Copy link

   1)Paddle Lite 版本:v2.13
   2)Host 环境:树莓派5、Debian: 12.5---armv8 ----aarch64 GNU/Linux

@hanyuanzhong
Copy link
Author

hanyuanzhong commented May 22, 2024

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

@hanyuanzhong
Copy link
Author

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

@hong19860320
Copy link
Collaborator

hong19860320 commented May 23, 2024

@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 试试?
或者将

PADDLELITE_VERSION = PADDLELITE_COMMITE
修改为
PADDLELITE_VERSION = 'v0.0.' + PADDLELITE_COMMITE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants