JJFire
JJFire
RRailway
Created by JJFire on 6/4/2023 in #✋|help
How to access console
hello, is there a way to access the console in railway.app?
26 replies
RRailway
Created by JJFire on 6/4/2023 in #✋|help
FastAPI working locally but not in railway
I have a fast api that uses opencv-python-headless and its giving me this error
import cv2
File "/opt/venv/lib/python3.8/site-packages/cv2/__init__.py", line 181, in <module>
bootstrap()
File "/opt/venv/lib/python3.8/site-packages/cv2/__init__.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/root/.nix-profile/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
import cv2
File "/opt/venv/lib/python3.8/site-packages/cv2/__init__.py", line 181, in <module>
bootstrap()
File "/opt/venv/lib/python3.8/site-packages/cv2/__init__.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/root/.nix-profile/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
Note: This project was already running before but after pushing another update in my Github Repository the deployment is crashing
59 replies