You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ pip-module-scanner
Traceback (most recent call last):
File "/Users/bedge/Virtualenvs/p2/bin/pip-module-scanner", line 11, in
sys.exit(main())
File "/Users/bedge/Virtualenvs/p2/lib/python2.7/site-packages/pip_module_scanner/main.py", line 18, in main
scanner = Scanner(path=options.path, output=options.out)
File "/Users/bedge/Virtualenvs/p2/lib/python2.7/site-packages/pip_module_scanner/scanner.py", line 21, in init
self.libraries_installed = pip.get_installed_distributions()
AttributeError: 'module' object has no attribute 'get_installed_distributions'
❯ pip --version
pip 10.0.1 from /Users/bedge/Virtualenvs/p2/lib/python2.7/site-packages/pip (python 2.7)
❯ pip-module-scanner
Traceback (most recent call last):
File "/Users/bedge/Virtualenvs/p3/bin/pip-module-scanner", line 7, in
from pip_module_scanner.main import main
File "/Users/bedge/Virtualenvs/p3/lib/python3.6/site-packages/pip_module_scanner/init.py", line 2, in
import main
ModuleNotFoundError: No module named 'main'
The text was updated successfully, but these errors were encountered:
Sorry for the late reply, totally missed your issue in my inbox. Fixed your issue, made it compatible with all versions of python from 2.7 to 3.6 and added unit tests for future stability.
using python 2.7:
This implies it's pip version >= 10 related: Miserlou/Zappa#1471
FWIW, not working at all with python 3:
The text was updated successfully, but these errors were encountered: