App keeps crashing: ModuleNotFoundError: No module named 'aiohttp'

yzhilova
TRIAL

a year ago

Works locally with Poetry and Docker. Crashes in Railway…

Traceback (most recent call last):

File "", line 1, in

File "/root/.nix-profile/lib/python3.11/importlib/init.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)

^^^^^^^^^

^^^^^^^^^^

^^^^^^^^^^

^^^^^^^^^^

^^^^^^^^^^

^^^

File "", line 1204, in gcdimport

File "", line 1176, in findand_load

File "", line 1147, in findandloadunlocked

File "", line 690, in loadunlocked

File "", line 940, in exec_module

File "", line 241, in callwithframesremoved

File "/app/assetprocessingservice/main.py", line 5, in

from asset_processing_service.api_client import fetch_jobs, update_job_details

File "/app/assetprocessingservice/api_client.py", line 4, in

import aiohttp

ModuleNotFoundError: No module named 'aiohttp'

View Deploy details

> ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies