Give users suggestions on how to resolve `Cannot find implementation or library stub for module named "{module}"`
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 20.6k
- Forks
- 3.3k
- Métricas de merge de PR
- Métricas de PR pendientes
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con el diagnóstico de mypy para Cannot find implementation or library stub for module named "{module}" y revisa la documentación existente sobre imports faltantes enlazada en el mensaje. Determina cómo deberían seleccionarse y mostrarse sugerencias como pip install numpy y, después, verifica que el diagnóstico incluya un comando útil sin alterar la salida existente.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100