Closed baygaliyev closed 3 months ago
Your error message says:
ImportError: matplotlib must be installed as an optional dependency for visualization
And as you can see in your pasted list of environment packages, you do not have matplotlib installed. It's an optional dependency of OSMnx needed only for its visualization functionality, as the error message states.
See also the installation guide: https://osmnx.readthedocs.io/en/stable/installation.html
Contributing guidelines
Documentation
Existing issues
What operating system and Python version are you using?
Ubuntu/Python3.8.10
What OSMnx version are you using?
v1.4.0
Environment packages and versions
How did you install OSMnx?
Pip
Problem description
I visualized a road network and emissions in google colab with no problem. When I tried to use the same code in a remote machine , I got an error:
Additional Information:
I am running this code on a remote Linux machine. DISPLAY environment variable is set to :0. Matplotlib backend is set to agg. Any insights or suggestions to resolve this issue would be greatly appreciated.
Complete minimal reproducible example