Open wojdyr opened 8 months ago
When you run pyre init and it doesn't find the typeshed automatically, just give it the path where it's actually installed. In your case, type in: /home/wojdyr/.local/lib/pyre_check/typeshed Also, to avoid doing this every time, you can add the path to your project's .pyre_configuration file under the typeshed key. This way, Pyre will know where to look right from the start.
I installed pyre with
pip install pyre-check
on Linux.pip show -f pyre-check
shows:So the typeshed is installed in /home/wojdyr/.local/lib/pyre_check/typeshed
Pyre works, but requires the user to manually specify the location:
Running it under strace, I see one relevant line:
It's may be not only me, there was a question on SO: https://stackoverflow.com/questions/75901930/pyre-check-cannot-located-typeshed