4
respostas

Erro ao criar ambiente virtual

Ao criar o ambiente virtual com o comando: conda create --name alura_pandas python=3.6 pandas=0.22.0 obtenho o seguinte erro: WARNING: A space was detected in your requested environment path 'C:\Users\Eduardo Lobo\Anaconda3\envs\alura_pandas' Spaces in paths can sometimes be problematic. Solving environment: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/free/noarch/repodata.json.bz2 Elapsed: -

An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has https://www.anaconda.com blocked, please file a support request with your network engineering team.

SSLError(MaxRetryError('HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/free/noarch/repodata.json.bz2 (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))'))

4 respostas

Oi Eduardo tudo certo ?

O erro está dizendo que, quando a gente estava definindo o caminho do anaconda no windows, deixamos algum espaço. Que provavelmente é esse espaço do seu usuário:

Eduardo Lobo

O ideal seria : EduardoLobo tudo junto.

ok Felipe. Desinstalei e reinstalei o Anaconda em uma pasta diferente: "c\users\eduardo\anaconda3A questao do espaco está ok. Porém continuo com o report de erro: Comando: "conda create --name alura" erro: Solving environment: done

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/r/win-64/repodata.json.bz2 Elapsed: -

An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has https://www.anaconda.com blocked, please file a support request with your network engineering team.

SSLError(MaxRetryError('HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/r/win-64/repodata.json.bz2 (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))'))

Tomei o cuidado de verificar no navegador padrao(Chrome) se o SSL estava habilitado. E está.

Também estou recebendo esse erro

Eduardo, tudo certo?

Cara, acabei conseguindo utilizando o comando através do terminal do próprio anaconda. Procura no teu windows o atalho para o 'Anaconda Prompt'.

Abraço