Ask Your Question
1

Unable to find Typeshed with Pyre-check?

asked 2021-10-01 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-04-30 18:00:00 +0000

nofretete gravatar image

If you are unable to find Typeshed with Pyre-check, you can try the following steps:

  1. Ensure that Pyre-check is installed in your system. You can check this by running the command: pyre --version.

  2. Check if your Python environment is set up correctly. To do this, run the following command: pyre --sp-repo. This will show you the repository path where Pyre-check is looking for the typeshed files.

  3. If Pyre-check is not able to find Typeshed, you can try installing it manually. Visit the Typeshed Github repository (https://github.com/python/typeshed) and download the package.

  4. Once you've downloaded Typeshed, extract it to a folder in your system. Make sure the folder is accessible to Pyre-check.

  5. You can then configure Pyre-check to use the Typeshed files by setting the --typeshed-path flag to the path where you extracted Typeshed.

  6. Finally, run Pyre-check again to see if it is now able to find Typeshed.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-10-01 11:00:00 +0000

Seen: 19 times

Last updated: Apr 30 '21