擅长:python、mysql、java
<p>如前所述<a href="https://stackoverflow.com/questions/65921476/cant-import-geopandas-to-python-when-running-in-docker-container?noredirect=1#comment116555358_65921476">in the comment by @Georgy</a>:</p>
<blockquote>
<p>See this issue: <a href="https://github.com/geopandas/geopandas/issues/1793" rel="nofollow noreferrer">https://github.com/geopandas/geopandas/issues/1793</a>. Looks like using 0.8.2 version of GeoPandas should solve the problem.</p>
</blockquote>
<p>GeoPandas 0.8.1与新的pygeos 0.9不兼容。您将需要使用GeoPandas 0.8.2,它修复了该问题或将pygeos降级为0.8</p>