Has anyone else had issues with VSCode not picking...
# prefect-community
m
Has anyone else had issues with VSCode not picking up
prefect
typing information when importing the module?
mypy
is also complaining…
n
I've seen this before @Manuel Aristarán - in the bottom left of VSCode there's an option to choose your Python environment. My issue was that it was using a different environment than the one I had installed Prefect in.
m
It’s not just VSCode.
mypy
also can’t find prefect’s typings
Copy code
error: Skipping analyzing 'prefect': found module but no type hints or library stubs
c
Are you sure
mypy
and
prefect
are installed in the same environment? We actually enforce
mypy
static type checks as a circleCI job on all PRs so this is surprising to see
s
I've ran into this with PyCharm, specifically with Parameters