Give users suggestions on how to resolve `Cannot find implementation or library stub for module named "{module}"`
オープン
まだ誰も着手していません。
feature
- 主要言語
- Python
- スター
- 20.6k
- フォーク
- 3.3k
- PR マージ指標
- PR 指標を取得中
説明
Feature
Give users suggestions on how to resolve Cannot find implementation or library stub for module named "{module}".
Pitch
I'm new to the ecosystem and didn't know a command that would fix mypy failing is pip install numpy. I think a suggestion on how to resolve this issue would help out people who don't use Python regularly, like myself.
Current behavior
p.py:1: error: Cannot find implementation or library stub for module named "numpy"
p.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Desired behavior
p.py:1: error: Cannot find implementation or library stub for module named "numpy"
p.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
p.py:1: note: The following command may help: pip install numpy
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Cannot find implementation or library stub for module named "{module}" に対する mypy の診断から始め、メッセージにリンクされている既存の missing-import ドキュメントを確認してください。pip install numpy のような提案をどのように選択して表示すべきかを判断し、そのうえで既存の出力を壊すことなく診断に有用なコマンドが含まれることを確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100