根据gitee的paddleocr移植案例,配置好环境,执行python main.py,在ret = stream_manager_api.InitManager()出现以下错误,初始化失败。
Begin to initialize Log.
WARNING: Logging before InitGoogleLogging() is written to STDERR
W20240112 07:58:07.434226 4201 FileUtils.cpp:336] owner id diff: current process user id is 0, file owner id is 1000
W20240112 07:58:07.436034 4201 ConfigUtil.h:103] [1016][Object, file or other resource doesn't exist] Fail to read (log_prefix) from config, default is: 1
W20240112 07:58:07.436120 4201 ConfigUtil.h:103] [1016][Object, file or other resource doesn't exist] Fail to read (colorlogtostderr) from config, default is: 1
W20240112 07:58:07.436161 4201 ConfigUtil.h:103] [1016][Object, file or other resource doesn't exist] Fail to read (stop_logging_if_full_disk) from config, default is: 1
The output directory of logs file exist.
Save logs information to specified directory.
E20240112 07:58:07.436368 4201 FileUtils.cpp:333] owner id diff: current process user id is 0, file owner id is 1000
E20240112 07:58:07.437177 4201 MxStreamManagerDptr.cpp:411] GST_PLUGIN_SCANNER permission is higher than 0550
E20240112 07:58:07.437268 4201 MxStreamManagerDptr.cpp:448] check GST_PLUGIN_SCANNER failed
E20240112 07:58:07.437346 4201 MxStreamManagerDptr.cpp:495] handle environment: GST_PLUGIN_SCANNER failed
E20240112 07:58:07.437426 4201 MxStreamManager.cpp:96] [1001][General Failed] Before creating a pipeline, please set related environment variables.
The following two methods are available:
(1) Permanent method: set the environment variable in the ~/.bashrc file of the current user, and run the "source ~/.bashrc" command manually in the current window.
(2) Temporary method: run the export command to import the required environment variables in the current window.
Failed to init Stream manager, ret=1001
根据gitee的paddleocr移植案例,配置好环境,执行python main.py,在ret = stream_manager_api.InitManager()出现以下错误,初始化失败。
Begin to initialize Log.
WARNING: Logging before InitGoogleLogging() is written to STDERR
W20240112 07:58:07.434226 4201 FileUtils.cpp:336] owner id diff: current process user id is 0, file owner id is 1000
W20240112 07:58:07.436034 4201 ConfigUtil.h:103] [1016][Object, file or other resource doesn't exist] Fail to read (log_prefix) from config, default is: 1
W20240112 07:58:07.436120 4201 ConfigUtil.h:103] [1016][Object, file or other resource doesn't exist] Fail to read (colorlogtostderr) from config, default is: 1
W20240112 07:58:07.436161 4201 ConfigUtil.h:103] [1016][Object, file or other resource doesn't exist] Fail to read (stop_logging_if_full_disk) from config, default is: 1
The output directory of logs file exist.
Save logs information to specified directory.
E20240112 07:58:07.436368 4201 FileUtils.cpp:333] owner id diff: current process user id is 0, file owner id is 1000
E20240112 07:58:07.437177 4201 MxStreamManagerDptr.cpp:411] GST_PLUGIN_SCANNER permission is higher than 0550
E20240112 07:58:07.437268 4201 MxStreamManagerDptr.cpp:448] check GST_PLUGIN_SCANNER failed
E20240112 07:58:07.437346 4201 MxStreamManagerDptr.cpp:495] handle environment: GST_PLUGIN_SCANNER failed
E20240112 07:58:07.437426 4201 MxStreamManager.cpp:96] [1001][General Failed] Before creating a pipeline, please set related environment variables.
The following two methods are available:
(1) Permanent method: set the environment variable in the ~/.bashrc file of the current user, and run the "source ~/.bashrc" command manually in the current window.
(2) Temporary method: run the export command to import the required environment variables in the current window.
Failed to init Stream manager, ret=1001