pip list – exits with error “TypeError: ‘module’ object is not callable”
Issue: # pip list Traceback (most recent call last): File “/app/python/2.7.16/bin/pip”, line 11, in <module> sys.exit(main()) TypeError: ‘module’ object is not callable Resolution: # python -m pip install –upgrade pip Where option “-m” – run library module as a script (terminates option list) Explanation: A broken pip installation can cause this issue. By …