1
resposta

Dificuldade de instalação direto da fonte

Também tive dificuldade de instalar o geopandas, tentei fazer a instalação pelo prompt com: conda install geopandas e a mensagem que recebi foi: Collecting package metadata (current_repodata.json): failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/main/win-32/current_repodata.json 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.

'https://repo.anaconda.com/pkgs/main/win-32'

Logo depois tentei instalar diretamente pela fonte do github pelo pip: pip install git+git://github.com/geopandas/geopandas.git

porém depois de instalar o pandas e o shaply ele travou na instalação da biblioteca fiona e recebi a seguinte mensagem:

ERROR: Command errored out with exit status 1: command: 'c:\users\alexg\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\alexg\AppData\Local\Temp\pip-install-ssnavj5j\fiona\setup.py'"'"'; file='"'"'C:\Users\alexg\AppData\Local\Temp\pip-install-ssnavj5j\fiona\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\alexg\AppData\Local\Temp\pip-pip-egg-info-ix41hzxo' cwd: C:\Users\alexg\AppData\Local\Temp\pip-install-ssnavj5j\fiona Complete output (1 lines):

A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

1 resposta

Oii Alexsandro, como você está? Espero que esteja bem ^-^

Sinto muito pela demora em obter um retorno.

Neste tópico ensinei o passo a passo para fazer a instalação do geopandas, tente dessa forma. Caso não obtenha êxito, me avise que tentaremos outra abordagem.

Abraços e bons estudos!

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software