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