Estou fazendo a aula de visualização das decisões de um estimador rodando notebook local. Eu já consegui instalar o graphviz via brew, mas a instalação pelo pip não funciona de jeito nenhum.
O Comando que estou tentando rodar:
!pip3 install --trusted-host pypi.org pygraphviz
A resposta que estou tendo:
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/pygraphviz/
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/pygraphviz/
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/pygraphviz/
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/pygraphviz/
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/pygraphviz/
Could not fetch URL https://pypi.org/simple/pygraphviz/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pygraphviz/ (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 pygraphviz (from versions: none)
ERROR: No matching distribution found for pygraphviz
Já tentei algumas versões do graphviz como 0.10 (demonstrado na aula) e mais recente como 0.14 e o resultado foi igual.
Versão do Python: 3.7.3
Versão do pip: 20.1
Pesquisei um pouco sobre e as soluções envolvem reinstalar o python, reinstalar o pip e não me parece que funcionaria.
Alguém já teve esse problema?
PS: nesse exemplo eu estava usando o pygraphviz, que foi uma das soluções que encontrei. Também tentei python-graphviz e o graphviz mesmo. Todos deram o mesmo problema