bdtinc / maskcam

Jetson Nano-based smart camera system that measures crowd face mask usage in real-time.
MIT License
243 stars 83 forks source link

Container server_streamlit status problem #23

Closed NSL-Wx closed 2 years ago

NSL-Wx commented 2 years ago

When I tried to reproduce the project, I encountered a problem that the container (server_streamlit)could not start. I tried to unload the container and rebuild it through image, but I still couldn't start it successfully. Its state has always been:Exited(1). I checked its log, as shown below: Traceback (most recent call last): File "/usr/local/bin/streamlit", line 8, in sys.exit(main()) File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1130, in call return self.main(args, kwargs) File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, ctx.params) File "/usr/local/lib/python3.7/site-packages/click/core.py", line 760, in invoke return __callback(args, **kwargs) File "/usr/local/lib/python3.7/site-packages/streamlit/cli.py", line 233, in main_run _main_run(target, args) File "/usr/local/lib/python3.7/site-packages/streamlit/cli.py", line 249, in _main_run command_line = _get_command_line_as_string() File "/usr/local/lib/python3.7/site-packages/streamlit/cli.py", line 244, in _get_command_line_as_string cmd_line_as_list.extend(click.get_os_args()) AttributeError: module 'click' has no attribute 'get_os_args' Receiving your reply is of great help to me!