Jia Yu created SEDONA-273:
-----------------------------

             Summary: Set a upper bound for Shapely, Pandas and GeoPandas
                 Key: SEDONA-273
                 URL: https://issues.apache.org/jira/browse/SEDONA-273
             Project: Apache Sedona
          Issue Type: Bug
            Reporter: Jia Yu


The toPandas function in Sedona got really messed up with the version of 
Shapely, Pandas and GeoPandas.

 

Here is a summary. You need to make sure the versions match the summary below 
(use `pip freeze` to check):

 

If you are using Python ==3.7:

Shapely <= 1.8.5.post1

Pandas <= 1.3.5

GeoPandas <= 0.10.2

 

If you are using Python >=3.8:

Shapely <=1.8.5.post1

Pandas <= 1.5.3

GeoPandas <= 0.11.1

 

If there is anything wrong with the 3 libraries, use `pip uninstall XXX` to 
uninstall it and then use `pip install XXX==` to install the correct version.

 

This will also work: `pip install 'shapely<=1.8.5.post1' --force-reinstall`

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to