2 months ago
File "/app/modules/stripe/init.py", line 2, in
from stripe import stripe
ImportError: cannot import name 'stripe' from 'stripe' (/opt/venv/lib/python3.12/site-packages/stripe/init.py)
Literally all i did was change one line totally irrelevant to this import and now my deployments keep crashing
0 Replies
2 months ago
Is your repository public so I could take a look?
2 months ago
Correct
im curious why thats neccasry as it wouldnt be the issue with the code, it was working fine until i restarted the deployment
i feel like the answer woul dbe with something railway changed to the python confgiurations
2 months ago
It is very likely something that can't be diagnosed only with what you shared.
But if your repo is private no worries, I was just asking
yeah its private but has there been no updates to railways python configurations?
2 months ago
Are you building with a Dockerfile?
2 months ago
If you changed one line and are building with a dockerfile I can fairly confidentally say that this isn't on Railway and is a service related issue.
2 months ago
That being said, I am curious if you possibly bumped a version or had some mismatch.
Are you able to try and run this on your local machine to see if the same issue appears?