Error No such file or directory

Hello, I’m new to render and I want to host my telegram bot in render, but when I do that I get this error: “python: can’t open file ‘/opt/render/project/src/BOT.py’: [ Errno 2] No such file or directory” I don’t know what to do, does anyone know what to do? I don’t know how to know the exact address either, if someone helps me solve it, I would greatly appreciate it.

Hi there,

Please ensure the casing of your file names is the same as what you have in your code or start/build commands. Your service on Render runs on Linux, which uses a case-sensitive filesystem, so if the names of your files don’t match they will not be found.

Regards,

Keith
Render Support, UTC+10 :australia:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.