lidar-slam-detection icon indicating copy to clipboard operation
lidar-slam-detection copied to clipboard

How to solve the problem of not finding the model at startup ?

Open ohm-zx opened this issue 1 year ago • 5 comments

ModuleNotFoundError: No module named 'cpp_utils_ext' Traceback (most recent call last): File "web_backend/server.py", line 36, in <module> from perception_server import PerceptionServer File "/home/nvidia/znqc/work/lidar-slam-detection/web_backend/perception_server.py", line 5, in <module> from jsonrpc.backend.flask import api ModuleNotFoundError: No module named 'jsonrpc.backend'

ohm-zx avatar Feb 22 '24 08:02 ohm-zx

Hi

  1. did you run the 'python setup.py install' before startup, the cpp_utils_ext is a cpp extension package in this project
  2. 'pip install json-rpc' to install the jsonrpc module

w111liang222 avatar Feb 22 '24 10:02 w111liang222

Thanks,i also want to ask the following question ModuleNotFoundError: No module named 'zerocm'

ohm-zx avatar Mar 06 '24 08:03 ohm-zx

Thanks,i also want to ask the following question ModuleNotFoundError: No module named 'zerocm'

'./tools/scripts/install_dependency.sh' to install the python extension of zcm

w111liang222 avatar Mar 06 '24 09:03 w111liang222

Thanks,please help me look the following question [Errno 13] Permission denied: '/home/znqc/work/licence/licences' Traceback (most recent call last): File "web_backend/server.py", line 48, in <module> @app.before_first_request AttributeError: 'Flask' object has no attribute 'before_first_request'

ohm-zx avatar Mar 07 '24 11:03 ohm-zx

Thanks,please help me look the following question [Errno 13] Permission denied: '/home/znqc/work/licence/licences' Traceback (most recent call last): File "web_backend/server.py", line 48, in @app.before_first_request AttributeError: 'Flask' object has no attribute 'before_first_request'

please use the 2.x version of flask pip install flask==2.2.2 flask_cors==3.0.10 ==1.9.3 filterpy==1.4.5 shapely==1.8.5.post1 python-can==4.0.0 onnx==1.12.0 gevent==22.10.1 websockets==10.4 zerorpc==0.6.3 flask_socketio==5.3.1 gevent-websocket==0.10.1 Werkzeug==2.2.2

w111liang222 avatar Mar 08 '24 13:03 w111liang222