Introduce a new script to install Python dependencies in a virtual environment, update systemd services to utilize this environment, and modify the setup script to automate dependency checks and installation. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 7a657272-55ba-4a79-9a2e-f1ed9bc7a528 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: ea2a08f4-46e1-463d-9c58-16219914ad23 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/449cf7c4-c97a-45ae-8234-e5c5b8d6a84f/7a657272-55ba-4a79-9a2e-f1ed9bc7a528/n4Q2eeE
52 lines
2.8 KiB
Plaintext
52 lines
2.8 KiB
Plaintext
tail -50 /var/log/ids/ml_backend.log
|
|
from fastapi import FastAPI, HTTPException, BackgroundTasks, Security, Header
|
|
ModuleNotFoundError: No module named 'fastapi'
|
|
Traceback (most recent call last):
|
|
File "/opt/ids/python_ml/main.py", line 6, in <module>
|
|
from fastapi import FastAPI, HTTPException, BackgroundTasks, Security, Header
|
|
ModuleNotFoundError: No module named 'fastapi'
|
|
Traceback (most recent call last):
|
|
File "/opt/ids/python_ml/main.py", line 6, in <module>
|
|
from fastapi import FastAPI, HTTPException, BackgroundTasks, Security, Header
|
|
ModuleNotFoundError: No module named 'fastapi'
|
|
Traceback (most recent call last):
|
|
File "/opt/ids/python_ml/main.py", line 6, in <module>
|
|
from fastapi import FastAPI, HTTPException, BackgroundTasks, Security, Header
|
|
ModuleNotFoundError: No module named 'fastapi'
|
|
Traceback (most recent call last):
|
|
File "/opt/ids/python_ml/main.py", line 6, in <module>
|
|
from fastapi import FastAPI, HTTPException, BackgroundTasks, Security, Header
|
|
ModuleNotFoundError: No module named 'fastapi'
|
|
Traceback (most recent call last):
|
|
File "/opt/ids/python_ml/main.py", line 6, in <module>
|
|
from fastapi import FastAPI, HTTPException, BackgroundTasks, Security, Header
|
|
ModuleNotFoundError: No module named 'fastapi'
|
|
Traceback (most recent call last):
|
|
File "/opt/ids/python_ml/main.py", line 6, in <module>
|
|
from fastapi import FastAPI, HTTPException, BackgroundTasks, Security, Header
|
|
ModuleNotFoundError: No module named 'fastapi'
|
|
Traceback (most recent call last):
|
|
File "/opt/ids/python_ml/main.py", line 6, in <module>
|
|
from fastapi import FastAPI, HTTPException, BackgroundTasks, Security, Header
|
|
ModuleNotFoundError: No module named 'fastapi'
|
|
Traceback (most recent call last):
|
|
File "/opt/ids/python_ml/main.py", line 6, in <module>
|
|
from fastapi import FastAPI, HTTPException, BackgroundTasks, Security, Header
|
|
ModuleNotFoundError: No module named 'fastapi'
|
|
Traceback (most recent call last):
|
|
File "/opt/ids/python_ml/main.py", line 6, in <module>
|
|
from fastapi import FastAPI, HTTPException, BackgroundTasks, Security, Header
|
|
ModuleNotFoundError: No module named 'fastapi'
|
|
Traceback (most recent call last):
|
|
File "/opt/ids/python_ml/main.py", line 6, in <module>
|
|
from fastapi import FastAPI, HTTPException, BackgroundTasks, Security, Header
|
|
ModuleNotFoundError: No module named 'fastapi'
|
|
Traceback (most recent call last):
|
|
File "/opt/ids/python_ml/main.py", line 6, in <module>
|
|
from fastapi import FastAPI, HTTPException, BackgroundTasks, Security, Header
|
|
ModuleNotFoundError: No module named 'fastapi'
|
|
Traceback (most recent call last):
|
|
File "/opt/ids/python_ml/main.py", line 6, in <module>
|
|
from fastapi import FastAPI, HTTPException, BackgroundTasks, Security, Header
|
|
ModuleNotFoundError: No module named 'fastapi'
|
|
[root@ids ids]# |