当我尝试在 Sublime 和 Python 的 IDLE 中运行我的 python 脚本时出现错误。但是我可以在命令提示符下运行相同的脚本没有问题。
我在本地安装了所有模块。whl。
我的脚本:
import geopandas
file = r'C:\WORK\testshape.shp'
geopandas.read_file(file)
print(file)
错误:Sublime 和 Python 的 IDLE
AttributeError: partially initialized module 'geopandas' has no attribute 'read_file' (most likely due to a circular import)