R
Railway3mo 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
Percy3mo ago
Project ID: 434873ef-34b4-45f4-887e-a5819527c100
DylZ
DylZ3mo ago
434873ef-34b4-45f4-887e-a5819527c100
DylZ
DylZ3mo ago
No description
DylZ
DylZ3mo ago
there is my file setup it runs on my pc just not railway
Solution
Brody
Brody3mo ago
please make sure your folder and filename casing is the same both locally and on github
DylZ
DylZ3mo ago
omg im slow thakn you i just found it it changed something to lowercase
Brody
Brody3mo ago
git doesnt track file/folder casing by default
DylZ
DylZ3mo 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
Brody3mo ago
never done it myself, would have asked you to google it
DylZ
DylZ3mo ago
git config core.ignorecase false I just had run this command
Brody
Brody3mo ago
ah cool, thats easy