Skip to content

fief-python types #168

Closed Answered by frankie567
davidbrochart asked this question in Q&A
Apr 5, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

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 invoke mypy, it'll still call the one from the global environment which doesn't have fief_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 😅

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@davidbrochart
Comment options

Answer selected by davidbrochart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants