SyntaxFix
Write A Post
Hire A Developer
Questions
On Ubuntu Server 16, I have the same problem with python27. Try this:
Change
from pip import main if __name__ == '__main__': sys.exit(main())
To
from pip._internal import main if __name__ == '__main__': sys.exit(main())