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

预编译库的V2,12下载的压缩包里没有找到python,我要怎么继续下一步得到python--->install--->dist--->paddlelite-*.whl #10519

Open
hanyuanzhong opened this issue May 20, 2024 · 1 comment
Assignees

Comments

@hanyuanzhong
Copy link

请教一下,我要怎么得到带有python的预编译的paddle lite动态库
1)Paddle Lite 版本:Release Notes v2.12或v2.13-rc
   

  • 在以上版本中,没有找到python文件夹,所以找不到paddlelite-*.whl

image

@hong19860320
Copy link
Collaborator

hong19860320 commented May 23, 2024

如果是 x86 CPU 版本的,可以直接用 pip 安装 pip install paddlelite==2.13rc0
如果是 Arm CPU + Armlinux 系统,需要自己编译,而且编译的时候需要指定系统中 python 的版本,例如
armv8:
./lite/tools/build_linux.sh --with_extra=ON --with_cv=ON --with_python=ON --python_version=2.7

armv7:
./lite/tools/build_linux.sh --arch=armv7hf --with_extra=ON --with_cv=ON --with_python=ON --python_version=2.7

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

No branches or pull requests

2 participants