I understand that this question has been asked several times but after reading them, and making the suggested fixes, I\'m still stumped.
My project structure is as f
If anybody lands here:
I encountered this error as well. In my case, I used ~/my/path/ at the path.sys.append(...), and the fix was replacing ~ with the explicit path name (you can inquire it if you type pwd when you are on linux shell, or use os.path.expanduser(..) )
~/my/path/
path.sys.append(...)
~
pwd
os.path.expanduser(..)