Using pip in GMSPython might fail on Mac OS X due to an SSl error. The solution to the problem is to update pip using the procedure described under the following link:
https://stackoverflow.com/questions/49748063/pip-install-fails-for-every-package-could-not-find-a-version-that-satisfies