1
resposta

Erro diferente instalar scikit-learn

Não consigo instalar o scikit-learn mesmo usando dicas passadas nos tópicos aqui do fórum. O erro que aparece é: Collecting scikit-learn Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/scikit-learn/ Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/scikit-learn/ Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/scikit-learn/ Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/scikit-learn/ Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/scikit-learn/ Could not find a version that satisfies the requirement scikit-learn (from versions: ) No matching distribution found for scikit-learn

1 resposta

Olá Rafael.

Poderia checar a versão do pip que está utilizando:

C:\Users\igor_>python -m pip --version          
pip 20.0.2 from C:\Users\igor_\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pip (python 3.8)                                                                                                                                     C:\Users\igor_> 

Utilize o comando abaixo para atualizar o pip caso ele esteja desatualizado:

python -m pip install --upgrade pip

E poderia verificar se está utilizando o comando dessa maneira:

pip install scikit-learn

Espero ter ajudado. Bons Estudos.