Problems to import Geopandas

Pollux

I'm trying to import geopandas to my Jupyter Notebook from Anaconda. The installation seems to work, however when I'm trying to import the package I have the following error :

ImportError                               Traceback (most recent call last)
<ipython-input-3-e7e84a190af7> in <module>
      3 import pandas as pd
      4 import numpy as np
----> 5 import geopandas as gpd
      6 import matplotlib as mp
      7 import matplotlib.pyplot as plt

~\AppData\Local\Continuum\anaconda3\lib\site-packages\geopandas\__init__.py in <module>
      2 from geopandas.geodataframe import GeoDataFrame
      3 
----> 4 from geopandas.io.file import read_file
      5 from geopandas.io.sql import read_postgis
      6 from geopandas.tools import sjoin

~\AppData\Local\Continuum\anaconda3\lib\site-packages\geopandas\io\file.py in <module>
      1 import os
      2 
----> 3 import fiona
      4 import numpy as np
      5 import six

~\AppData\Local\Continuum\anaconda3\lib\site-packages\fiona\__init__.py in <module>
     67 from six import string_types
     68 
---> 69 from fiona.collection import Collection, BytesCollection, vsi_path
     70 from fiona._drivers import driver_count, GDALEnv
     71 from fiona.drvsupport import supported_drivers

~\AppData\Local\Continuum\anaconda3\lib\site-packages\fiona\collection.py in <module>
      7 
      8 from fiona import compat
----> 9 from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
     10 from fiona.ogrext import Session, WritingSession
     11 from fiona.ogrext import (

ImportError: DLL load failed: Le module spécifié est introuvable.

I installed geopandas from forge :

conda install -c conda-forge geopandas

The version installed is : geopandas 0.4.0 py_1 conda forge (I have also the version of fiona 1.7.10 py36hfa6e2cd_2).

I've already tried to install geopandas with different ways but it didn't change anything...

Thanks for your help.

Pollux

SOLUTION : I've found an other way to manage to install geopandas. What I did :

conda install fiona pyproj six
pip install geopandas
conda upgrade --all

And it works!

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Can't import geopandas to python when running in docker container

分類Dev

GeoPandas Label Polygons

分類Dev

Intersection of Two LineStrings Geopandas

分類Dev

Geopandasのカラーバー

分類Dev

Subsetting NYC shapefile to Manhattan using Geopandas

分類Dev

Jupyter/Geopandas plot order breaks figsize

分類Dev

Problems with "+" in grep

分類Dev

PageIndexChanging problems

分類Dev

Pagination Problems

分類Dev

Problems with hex

分類Dev

Problems With StringIndexOutOfBoundsException

分類Dev

Problems with datagridview

分類Dev

geopandas geodataframeをpandas dataframeに変換する

分類Dev

GeoPandasラベルポリゴン

分類Dev

Geopandasのインストール

分類Dev

Geopandasのインストール

分類Dev

Using Geopandas, how do I select all points not within a polygon?

分類Dev

Geopandas not working after importing a file from a different directory

分類Dev

Is it possible to shift a geopandas world map on the x axis (longitude)?

分類Dev

How to apply different border widths for subregions in python geopandas choropleth map

分類Dev

Is there a way to overlay a bar chart (matplotlib) onto a map (geopandas)?

分類Dev

`from ... import`対` import .`

分類Dev

Geopandas空間結合-geopandas.toolsをインポートできません

分類Dev

Geopandas:geopandasオブジェクトのcrsを変更できません

分類Dev

server program upgrade problems

分類Dev

Java: Problems with Switch case

分類Dev

JavaFX, MouseEvent problems

分類Dev

Problems to join 2 queries

分類Dev

Capistrano deployment problems