Python setuptools with company-signed SSL certificate

I am new to setuptools in python.

I added the package 'numpy' and 'tensorflow' to the install_requires list and started the python setup.py installation. It is not installed due to a problem with SSL. We use self-signed SSL for https based URLs.

If used for individual packages, I can use the --cert option. As I know, setuptools uses pip indirectly. If so, is there a way to force it to use the --cert option when setup.py is running?

+4
source share
1 answer

It turns out that we actually have two problems.

The problem of tensor flow is related to some difference between egg packs and wheels.

numpy , ~/.pip/pip.conf:

[global]    
cert=/path/to/cert.crt

( ) .

0

Source: https://habr.com/ru/post/1692905/


All Articles