[SOLUCIONADO] Error SSL al querer hacer una instalacion con PIP

Iniciado por OjoHalconero107, Enero 15, 2021, 05:02:29 PM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Enero 15, 2021, 05:02:29 PM Ultima modificación: Febrero 05, 2021, 12:13:00 AM por AXCESS
Hola buenas tardes a todos, hoy queria traerles un problema que no me estaria dejando instalar un script llamado EagleEye, al ejecutar: cd EagleEye && sudo pip3 install -r requirements.txt
Me sale este error:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/termcolor/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/termcolor/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/termcolor/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/termcolor/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/termcolor/                                 
Could not fetch URL No tienes permitido ver los links. Registrarse o Entrar a mi cuenta: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/termcolor/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement termcolor (from -r requirements.txt (line 1)) (from versions: none)                                   
ERROR: No matching distribution found for termcolor (from -r requirements.txt (line 1))                                                                               
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.                                                   
Could not fetch URL No tienes permitido ver los links. Registrarse o Entrar a mi cuenta: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

Creo que es importante recalcar que mi Kali Linux no tiene el horario correcto, con el comando:
└─# sudo dpkg-reconfigure tzdata                                         
No me corrige el problema al darle mi ubicacion, si alguien puede darme una mano, de verdad se los agradeceria.
Muy bien finde para todos!!!!
Actualizo: modifique el horario con date mmddhhmmyyyy

Bueno, a simple vista podrías intentar actualizar el sistema y sus paquetes. (sudo apt-get update && apt-get upgrade) (Esto en caso de que haya algún fallo a nivel de sistema o de paquetes como pip).  De igual manera digo esto porque veo que hay una sección donde dice que no pudo encontrar una version que satisfaga los requerimientos. En caso de que no te funcione con ese paso, avísame, me quedo al pendiente. Un abrazo.

Gracias por tomarte el tiempo compañero, realmente te lo agradezco.

Ejecute el comando que me recomendaste y al volver a instalar los requerimientos me sale esto:

ARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.                                                   
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/termcolor/                                 
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/termcolor/                                 
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/termcolor/                                 
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/termcolor/                                 
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/termcolor/                                 
Could not fetch URL No tienes permitido ver los links. Registrarse o Entrar a mi cuenta: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/termcolor/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement termcolor (from -r requirements.txt (line 1)) (from versions: none)                                   
ERROR: No matching distribution found for termcolor (from -r requirements.txt (line 1))                                                                               
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.                                                   
Could not fetch URL No tienes permitido ver los links. Registrarse o Entrar a mi cuenta: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

Enero 15, 2021, 09:58:42 PM #3 Ultima modificación: Enero 15, 2021, 10:02:14 PM por Pyth1
Vale, estuve googleando para empaparme del tema y me doy cuenta que al parecer es un problema con versiones de Python y en específico con pip. El proceso para solucionar el problema es un poco largo, por eso mejor te dejo aquí el enlace de donde saqué la información: No tienes permitido ver los links. Registrarse o Entrar a mi cuenta

Avísame cómo te va con eso, espero que sirva. (Abriendo paréntesis, comprueba que tu version de python sea la misma con la que se desarrolló el script que quieres ejecutar, en caso de no ser las mismas, puedes intentar ver si tu versión de python tolera todas las dependencias del script, sino instalar otra versión que sí la tolere) (Otro paréntesis, si ninguna de estas soluciones te funcionan lo mejor es que abrar un "Issue" en el repositorio de Github de la herramienta para que los desarrolladores puedan revisar el problema de incompatibilidad de versiones)

Quedo atento,