You can find this error when your neighborhood CA keep cannot be observed either due to authorization issues or as the file is outright missing. To discover which CA file python is utilizing, operate the following command: I ran into an identical situation on Mac OSX in the business/corporate network. If you don't know the proxy URL Get it from