Handling custom module imports
- Vorherrschende Sprache
- Python
- Sterne
- 6
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
rqmts stops upon spotting a custom module import.
**LOGCAT :**
input :
"import numpy as np
import cv2
from mss import mss
import time
from getkeys import key_check
import os"
**Output**
```
Some modules were not successfully imported, and it means either of the two things :
1. No such module(s) (just ignore this warning then)
2. Module(s) not found in your system. (pip install )
There seems to be discrepancies in following module(s) :
1 getkeys
Quitting.
```
Beitragsleitfaden
Rechercherichtung
The issue is that rqmts fails when encountering a custom module import like 'getkeys'. Look at the code that parses imports and checks for module existence, likely in a file like parser.py or scanner.py. The tool should skip or handle local modules gracefully. Run the tool on the provided input to reproduce the error, then modify the logic to ignore non‑pip‑installable modules.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- cli, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 65/100