Problems to import Geopandas










1















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

~AppDataLocalContinuumanaconda3libsite-packagesgeopandas__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

~AppDataLocalContinuumanaconda3libsite-packagesgeopandasiofile.py in <module>
1 import os
2
----> 3 import fiona
4 import numpy as np
5 import six

~AppDataLocalContinuumanaconda3libsite-packagesfiona__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

~AppDataLocalContinuumanaconda3libsite-packagesfionacollection.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.










share|improve this question


























    1















    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

    ~AppDataLocalContinuumanaconda3libsite-packagesgeopandas__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

    ~AppDataLocalContinuumanaconda3libsite-packagesgeopandasiofile.py in <module>
    1 import os
    2
    ----> 3 import fiona
    4 import numpy as np
    5 import six

    ~AppDataLocalContinuumanaconda3libsite-packagesfiona__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

    ~AppDataLocalContinuumanaconda3libsite-packagesfionacollection.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.










    share|improve this question
























      1












      1








      1








      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

      ~AppDataLocalContinuumanaconda3libsite-packagesgeopandas__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

      ~AppDataLocalContinuumanaconda3libsite-packagesgeopandasiofile.py in <module>
      1 import os
      2
      ----> 3 import fiona
      4 import numpy as np
      5 import six

      ~AppDataLocalContinuumanaconda3libsite-packagesfiona__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

      ~AppDataLocalContinuumanaconda3libsite-packagesfionacollection.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.










      share|improve this question














      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

      ~AppDataLocalContinuumanaconda3libsite-packagesgeopandas__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

      ~AppDataLocalContinuumanaconda3libsite-packagesgeopandasiofile.py in <module>
      1 import os
      2
      ----> 3 import fiona
      4 import numpy as np
      5 import six

      ~AppDataLocalContinuumanaconda3libsite-packagesfiona__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

      ~AppDataLocalContinuumanaconda3libsite-packagesfionacollection.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.







      python






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 13 '18 at 14:13









      PolluxPollux

      154




      154






















          1 Answer
          1






          active

          oldest

          votes


















          0














          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!






          share|improve this answer






















            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53282953%2fproblems-to-import-geopandas%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            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!






            share|improve this answer



























              0














              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!






              share|improve this answer

























                0












                0








                0







                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!






                share|improve this answer













                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!







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 14 '18 at 13:55









                PolluxPollux

                154




                154



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53282953%2fproblems-to-import-geopandas%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    這個網誌中的熱門文章

                    How to read a connectionString WITH PROVIDER in .NET Core?

                    Node.js Script on GitHub Pages or Amazon S3

                    Museum of Modern and Contemporary Art of Trento and Rovereto