Traceback (most recent call last):
File "/Users/user/.virtualenvs/venv/bin/important", line 7, in <module>
from important.__main__ import check
File "/Users/user/.virtualenvs/venv/lib/python3.6/site-packages/important/__main__.py", line 12, in <module>
from important.parse import parse_dir_imports, parse_file_imports, \
File "/Users/user/.virtualenvs/venv/lib/python3.6/site-packages/important/parse.py", line 20, in <module>
from pip.commands.show import search_packages_info
ModuleNotFoundError: No module named 'pip.commands'
and then it works.
PIP moved the apis to the
_internaldirectory in commit 95bcf8c5f6 , so now the command fails withI changed the imports to
and then it works.