No such file: main.py
repl process died unexpectedly: exit status 2
Traceback (most recent call last):
File "/nix/store/ann2w0blx5vrc8mw1hwnvb37gry6ci9a-replit-python-dap-wrapper-1.0.0/bin/dap-python", line 42, in <module>
_main()
File "/nix/store/ann2w0blx5vrc8mw1hwnvb37gry6ci9a-replit-python-dap-wrapper-1.0.0/bin/dap-python", line 38, in _main
runpy.run_path(target_as_str, run_name="__main__")
File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/runpy.py", line 288, in run_path
code, fname = _get_code_from_file(run_name, path_name)
File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/runpy.py", line 252, in _get_code_from_file
with io.open_code(decoded_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/modern-saint-meditation-w2/main.py'
It seems like you don’t have a main.py
file in your Repl, is that correct? If not, could you please provide a Repl link?
4 Likes