PaddlePaddle / PaddlePaddle/FastDeploy

RK3588板子上C++编译fastdeploy成功,但是import fastdeploy报错无法找到fastdeploy模块

Open
#1,952 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.7k
Forks
756
Avg merge
19h 28m
Merged PRs (30d)
4

Description

环境

【FastDeploy版本】: 使用官网提供的C++在rk3588上面编译 fastdeploy
【编译命令】 使用官网提供的C++在rk3588上面编译 fastdeploy
【系统平台】: Linux x64(Ubuntu 20.04)
【硬件】: RK3588
【编译语言】: Python3.9

问题日志及出现问题的操作流程

参照下面的流程在RK3588板子上面编译fastdeploy,成功编译并执行永久配置
https://github.com/PaddlePaddle/FastDeploy/blob/develop/docs/cn/faq/rknpu2/build.md
永久配置
source PathToFastDeploySDK/fastdeploy_init.sh
sudo cp PathToFastDeploySDK/fastdeploy_libs.conf /etc/ld.so.conf.d/
sudo ldconfig

但是无法在Fastdeploy目录以外正常导入fastdeploy,import fastdeploy会出现模块无法找到
image

Fastdeploy目录下的其他目录也无法正常导入fastdeploy
image

这个是什么原因 希望进行回复 谢谢

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the linked docs/cn/faq/rknpu2/build.md guide and inspect the mentioned fastdeploy_init.sh and fastdeploy_libs.conf setup. Reproduce import fastdeploy from outside the FastDeploy directory on the stated RK3588 environment; done means the module imports successfully from another directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux, python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.