(sayhello) d:\coding_by_huohuo\python_language\sayhello-master>pip install pathtools --no-cache-dir
Collecting pathtools
Downloading pathtools-0.1.2.tar.gz (11 kB)
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File “”, line 2, in
File “”, line 34, in
File “C:\Users\14067\AppData\Local\Temp\pip-install-jeqr0i0m\pathtools_03524d6ad2784909adac736b98b7fcc5\setup.py”, line 25, in
import imp
ModuleNotFoundError: No module named ‘imp’
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.