Open wch opened 1 year ago
I get this error when calling RequirementsFile.from_string():
RequirementsFile.from_string()
File "/..../venv/lib/python3.9/site-packages/pip_requirements_parser.py", line 269, in from_string tmpdir = Path(str(tempfile.mkdtemp())) NameError: name 'Path' is not defined
I think the code needs from pathlib import Path.
from pathlib import Path
@wch good catch! Can I interest you in a PR?
I get this error when calling
RequirementsFile.from_string()
:I think the code needs
from pathlib import Path
.