question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Centos 7, pip install, requests[security]

See original GitHub issue

Hi

Trying to get Lexicon installed on Centos 7 running python 2.7.5 and pip 18.1, running into the following problem:

Requirement already satisfied: dns-lexicon in /usr/lib/python2.7/site-packages (3.0.7)
Requirement already satisfied: requests[security] in /usr/lib/python2.7/site-packages (from dns-lexicon) (2.6.0)
  requests 2.6.0 does not provide the extra 'security'
Requirement already satisfied: tldextract in /usr/lib/python2.7/site-packages (from dns-lexicon) (2.2.0)
Requirement already satisfied: future in /usr/lib/python2.7/site-packages (from dns-lexicon) (0.17.1)
Requirement already satisfied: cryptography in /usr/lib64/python2.7/site-packages (from dns-lexicon) (2.4.2)
Requirement already satisfied: pyyaml in /usr/lib64/python2.7/site-packages (from dns-lexicon) (3.10)
Requirement already satisfied: requests-file>=1.4 in /usr/lib/python2.7/site-packages (from tldextract->dns-lexicon) (1.4.3)
Requirement already satisfied: idna in /usr/lib/python2.7/site-packages (from tldextract->dns-lexicon) (2.7)
Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from tldextract->dns-lexicon) (0.9.8)
Requirement already satisfied: enum34; python_version < "3" in /usr/lib/python2.7/site-packages (from cryptography->dns-lexicon) (1.1.6)
Requirement already satisfied: six>=1.4.1 in /usr/lib/python2.7/site-packages (from cryptography->dns-lexicon) (1.9.0)
Requirement already satisfied: cffi!=1.11.3,>=1.7 in /usr/lib64/python2.7/site-packages (from cryptography->dns-lexicon) (1.11.5)
Requirement already satisfied: asn1crypto>=0.21.0 in /usr/lib/python2.7/site-packages (from cryptography->dns-lexicon) (0.24.0)
Requirement already satisfied: ipaddress; python_version < "3" in /usr/lib/python2.7/site-packages (from cryptography->dns-lexicon) (1.0.16)
Requirement already satisfied: pycparser in /usr/lib/python2.7/site-packages (from cffi!=1.11.3,>=1.7->cryptography->dns-lexicon) (2.19)

Can’t seem to find a way to resolve the request[security], any suggestions?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
adferrandcommented, Apr 8, 2019

You’re welcome!

Note: I also added a summary of what I said here in the README.md of Lexicon.

0reactions
stuevansukcommented, Apr 8, 2019

This is perfect and great to see it making into the Readme as it was the first place I checked when I had the issue. Cheers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python PIP and InsecurePlatformWarning - Stack Overflow
Unable to install Python packages using pip in Ubuntu Linux: ... supported CentOS 7.x only: https://pypi.org/project/cryptography/#files.
Read more >
How to Install Pip on CentOS 7 - Linuxize
In this tutorial we will walk through how to install Python Pip on CentOS 7 and cover the basics of how to install...
Read more >
Installation — oci 2.90.0 documentation
This command instructs the requests library used by the Python SDK to use the version of OpenSSL that is bundled with the cryptography...
Read more >
How to PIP Install Requests Python Package - ActiveState
Requests Installation. Check if Requests is already installed and up-to-date by entering the following command: python -m pip show requests.
Read more >
Using Supervisor to monitor process on CentOS
pip2.7 install 'requests[security]' $ sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH ./pip2.7 install supervisor # For CentOS 7 $ pip install ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found