A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/davidfstr/trycast/issues/32 below:

Missing `py.typed` file in package · Issue #32 · davidfstr/trycast · GitHub

Currently trying to pip install trycast and doing import trycast causes mypy to raise an error for the package:

$ cat asd.py
import trycast

$ mypy asd.py
asd.py:1: error: Cannot find implementation or library stub for module named "trycast"  [import-not-found]
asd.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 1 source file)

This is because type checked packages require to ship as a package, containing a blank py.typed file as per PEP 561.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4