Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro ao criar ambiente virtual [video 3]

Ao seguir os passos apresentados no vídeo 02:56, está apresentando o seguinte erro:

C:\Users\JAILSON>conda create --name Alura_analytics python-2.7 pandas-0.19.0 Collecting package metadata (current_repodata.json): failed

CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to download and install packages.

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

Se eu tentar utilizar o Anaconda PowerShell Prompt, aparece o seguinte erro, dessa forma, não consigo prosseguir com o curso:

(base) PS C:\Users\JAILSON> conda create --name Alura_analytics python-2.7 pandas-0.19.0 Collecting package metadata (current_repodata.json): done Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  • pandas-0.19.0
  • python-2.7

Current channels:

To search for alternate channels that may provide the conda package you're looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

Alguém pode ajudar?

estou usando o Windows 11 64

1 resposta
solução!

consegui resolver colocando a versão mais recente do Python e do pandas:

conda create --name Alura_analytics python=3.10 pandas=1.4.4