fief-python types #168
-
I know import fief_client with:
Any idea why? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I was able to reproduce it, that's indeed really strange and annoying 😟 I'll try to see if there is something missing somewhere. |
Beta Was this translation helpful? Give feedback.
-
Lol, ok, this is nasty 😂 It's probably because you have installed If you do It's fun because we fell exactly into the same trap 😅 |
Beta Was this translation helpful? Give feedback.
Lol, ok, this is nasty 😂
It's probably because you have installed
mypy
outside a virtual environment. Even if you install it in a virtual environment, when you invokemypy
, it'll still call the one from the global environment which doesn't havefief_client
.If you do
pip uninstall mypy
while outside your virtual environment and try again, it should work properly.It's fun because we fell exactly into the same trap 😅