Python library installation command 'pip' is not working with Cloud SWG.
OR
pip.exe install <package name> is failing with Cloud SWG.
WSS TLS interception
Package Installer for Python(PIP)
Package Installer for Python(PIP) checks certificate for "pypi.python.org" and "files.pythonhosted.org".
With WSS intercepting those destinations the certificate check done by pip will fail.
In order to not use certificate pinning you can use the command instead of the default pip command:
pip.exe install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org <package name>
Alternatively, you can add these domains in SSL/TLS interception bypass: