mardi 4 août 2015

pip install requests[security] vs pip install requests: Difference

I am using Ubuntu 14.04 with python version 2.7.6. Today, when I created a new virtualenv and tried doing pip install requests , I got the error InsecurePlatformWarning.

I resolved this issue by following the instructions over here

SSL InsecurePlatform error when using Requests package

But I want to understand what is the actual difference between these two commands: pip install requests[security] and pip install requests .

1) Why does the former install 3 additional packages?

2) Are there any things that I need to take care about when I push the code to production?

3) Do they both behave the same generally?

I searched a lot on stackoverflow and elsewhere, but couldn't find the answer. If it has already been answered then please post the link.

Thanks.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire