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

2 years 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 _gcd_import

File "", line 1176, in _find_and_load

File "", line 1147, in _find_and_load_unlocked

File "", line 690, in _load_unlocked

File "", line 940, in exec_module

File "", line 241, in _call_with_frames_removed

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

from asset_processing_service.api_client import fetch_jobs, update_job_details

File "/app/asset_processing_service/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

Welcome!

Sign in to your Railway account to join the conversation.

Loading...