Python 在google colab上导入osmnx给我一个错误
我正试图在google Colab上导入Python 在google colab上导入osmnx给我一个错误,python,osmnx,google-colaboratory,Python,Osmnx,Google Colaboratory,我正试图在google Colab上导入osmnx,它确实使用成功安装了!pip安装osmnx但是当我尝试像这样在Colab中导入它时,import osmnx给我这个错误 AttributeError: /usr/bin/python3: undefined symbol: Error_GetLastErrorNum 有人知道如何修复此错误吗?您需要先安装libspatialindex dev !apt install libspatialindex-dev !pip install osm
osmnx
,它确实使用成功安装了!pip安装osmnx
但是当我尝试像这样在Colab中导入它时,import osmnx
给我这个错误
AttributeError: /usr/bin/python3: undefined symbol: Error_GetLastErrorNum
有人知道如何修复此错误吗?您需要先安装libspatialindex dev
!apt install libspatialindex-dev
!pip install osmnx
然后你可以导入它
import osmnx