In a virtualenv, if the instance parameter is a valid import in a directory in .venv/src/, it will use that import rather than the expected import.
For exemple, if I have a file called "run.py" in my project directory (so project/run.py) and that project/.venv/src/random_lib/run.py exists, flask2postman run.app will try to import app from project/.venv/src/random_lib/run.py rather than from project/run.py.
I have no idea why this is happening, I need to investigate more.
In a virtualenv, if the instance parameter is a valid import in a directory in
.venv/src/
, it will use that import rather than the expected import.For exemple, if I have a file called "run.py" in my project directory (so
project/run.py
) and thatproject/.venv/src/random_lib/run.py
exists,flask2postman run.app
will try to importapp
fromproject/.venv/src/random_lib/run.py
rather than fromproject/run.py
.I have no idea why this is happening, I need to investigate more.