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

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

Open
ohm-zx opened this issue Feb 22, 2024 · 5 comments
Open

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

ohm-zx opened this issue Feb 22, 2024 · 5 comments

Comments

@ohm-zx
Copy link

ohm-zx commented Feb 22, 2024

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'

@w111liang222
Copy link
Owner

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

@ohm-zx
Copy link
Author

ohm-zx commented Mar 6, 2024

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

@w111liang222
Copy link
Owner

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

@ohm-zx
Copy link
Author

ohm-zx commented Mar 7, 2024

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'

@w111liang222
Copy link
Owner

w111liang222 commented Mar 8, 2024

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

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