# AttributeError("module 'geopandas' has no attribute 'plotting'")

**URL:** <https://discourse.julialang.org/t/attributeerror-module-geopandas-has-no-attribute-plotting/97278>\
**Category:** New to Julia\
**Tags:** question, package\
**Created:** [April 9, 2023, 11:56am UTC](https://discourse.julialang.org/t/attributeerror-module-geopandas-has-no-attribute-plotting/97278 "2023-04-09T11:56:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nirong](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nirong/32/48859_2.png) [@nirong](https://discourse.julialang.org/u/nirong)\
**Post date:** [April 9, 2023, 11:56am UTC](https://discourse.julialang.org/t/attributeerror-module-geopandas-has-no-attribute-plotting/97278/1 "2023-04-09T11:56:02Z")

</div>

I had some problems when using geopandas in julia. First, I run the following code to install the package:  
import Pkg; Pkg.add(“CondaPkg”)  
using CondaPkg  
CondaPkg.add(“geopandas”) .  
See [How to install geopandas in julia - #4 by M-PERSIC](https://discourse.julialang.org/t/how-to-install-geopandas-in-julia/97272/4)?

It was installed successfuly.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/7/9/79946eb1e95fed5debf05bc19a6ce6db5f579e75.png)

However, when I ran “import geopandas”, the error said geopandas not found. What should I do to deal with it ?

 ![image](https://global.discourse-cdn.com/julialang/original/3X/d/6/d6ed724cd4da854890029e99cf47a1acbde2fdcd.png)

Second, when I create a moule in which geopandas is used, there is an error of AttributeError(“module ‘geopandas’ has no attribute ‘plotting’”). So I checked the geopandas folder , but it did have a plotting.py file.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/7/d/7d2a797b18a2ec75473c8cbc0b400fee10ce9d46.png)

I am new to julia, and didn’t find ways to solve these problems. I’ll appreciate it much if someone else can help me out.

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [April 9, 2023, 12:53pm UTC](https://discourse.julialang.org/t/attributeerror-module-geopandas-has-no-attribute-plotting/97278/2 "2023-04-09T12:53:32Z")

</div>

How is this different from your other thread here?

> [@How to install geopandas in julia](https://discourse.julialang.org/t/how-to-install-geopandas-in-julia/97272/8):
>
> @M-PERSIC I restart the jupyter notebook, and run the following code again: using Pkg; Pkg.add("Conda") using Conda Conda.add("geopandas") The error changed again. It said I already installed geopandas, but when I import geopandas, it said geopandas not found. Besides, do you know how to resolve this error–AttributeError(“module ‘geopandas’ has no attribute ‘plotting’”)? It is showed in the following picture.

Please don’t double post.

If you install a python package with Conda and is it is not available afterwards you might have multiple python installations and aren’t installing packages where you think you are.

---

<div class="post-metadata">

**Author:** ![nirong](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nirong/32/48859_2.png) [@nirong](https://discourse.julialang.org/u/nirong)\
**Post date:** [April 9, 2023, 12:59pm UTC](https://discourse.julialang.org/t/attributeerror-module-geopandas-has-no-attribute-plotting/97278/3 "2023-04-09T12:59:25Z")

</div>

I am sorry to double post it, and thanks for your reply. I checked my python versions, and found that there are two place have python.exe, but only one version of python. Shoud I delete one of them? If so, which one should I delete? Or how can I insatall geopandas to the one I wanted to in julia?

 ![image](https://global.discourse-cdn.com/julialang/original/3X/f/6/f6efa372cd9f8d0d51e32ac8ad5ef77f50d97288.png)
