I have a Python project in a subfolder within my git repo:
.git api/ requirements.txt .venv/ myproj/ __init__.py foo.py bar.py
The virtual environment is installed in the
api folder which is a subfolder of my git repo.
In an interpreter, I can import from
myproj/foo.py by doing:
from myproj.foo import baz
But in Vim, coc-python reports:
unresolved import myproj.foo
and the autocompletion list includes the parent directory,
When I do
:CocCommand > python.startREPL I can run the import just fine, without prepending
I can't even think about how to debug this problem!