This might sound like a basic question but I encountered this error when I try to run the app using local/my laptop.
name ‘path’ is not defined
It refers to line 16 on servery.py (same as the original FastAi-v3 code) where
path = Path(__file__).parent
is defined.
I’ve tried doing from pathlib import Path but it still throws that error. I didn’t change anything from the original code (besides export file url and name) but that error keeps showing. What should I do to make it work?
I tried running from local because it couldn’t run on Render either. When I’m trying to run it where it executes [6/6] RUN python app/server.py:, it gives me this error:
error: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c python app/server.py]: buildkit-runc did not terminate successfully
error: exit status 1
What happened and what should I do?