Hi everyone, I'm having a bit of a silly problem u...
# ask-metaflow
a
Hi everyone, I'm having a bit of a silly problem using metaflow as a dependency in a pycharm project. When trying to import things like
Copy code
from metaflow import FlowSpec, step, kubernetes, retry
FlowSpec and step import fine, but I get Cannot find reference errors for kubernetes and retry. If I launch a python console or a notebook the imports work fine so it seems like an indexing issue. I've tried the typical invalidate caches, with no luck. I'd rather not just disable the warnings if possible. Has anyone had similar issues or have a solution? Many thanks
1
f
Have you tried installing metaflow-stubs?
a
Perfect that works, didn't know about this, thanks!