R
Railway9mo ago
DylZ

Module not found, Folder does exist

So I am trying to import a file and it is telling me the fodler doesnt exist.
File "/app/Routes/test.py", line 2, in <module>

import Utils.Email

ModuleNotFoundError: No module named 'Utils'
File "/app/Routes/test.py", line 2, in <module>

import Utils.Email

ModuleNotFoundError: No module named 'Utils'
Solution:
please make sure your folder and filename casing is the same both locally and on github
Jump to solution
11 Replies
Percy
Percy9mo ago
Project ID: 434873ef-34b4-45f4-887e-a5819527c100
DylZ
DylZOP9mo ago
434873ef-34b4-45f4-887e-a5819527c100
DylZ
DylZOP9mo ago
No description
DylZ
DylZOP9mo ago
there is my file setup it runs on my pc just not railway
Solution
Brody
Brody9mo ago
please make sure your folder and filename casing is the same both locally and on github
DylZ
DylZOP9mo ago
omg im slow thakn you i just found it it changed something to lowercase
Brody
Brody9mo ago
git doesnt track file/folder casing by default
DylZ
DylZOP9mo ago
Are you able to direct me on how to make it, or should i just google that? Just found it THank you You may close this
Brody
Brody9mo ago
never done it myself, would have asked you to google it
DylZ
DylZOP9mo ago
git config core.ignorecase false I just had run this command
Brody
Brody9mo ago
ah cool, thats easy
Want results from more Discord servers?
Add your server