You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot run pip install prettymaps on a M1 Macbook Pro running OSX Ventura 13.1 (22C65).
I use Conda to manage my Python environments. I created a fresh environment with Python 3.10.
The output in the terminal when installation fails.
$ pip install prettymaps
Collecting prettymaps
Using cached prettymaps-1.0.0-py3-none-any.whl (36 kB)
Collecting osmnx==1.2.2
Using cached osmnx-1.2.2-py2.py3-none-any.whl (92 kB)
Collecting pyyaml==6.0.0
Using cached PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl (173 kB)
Collecting Shapely<2.0,>=1.8
Using cached Shapely-1.8.5.post1-cp310-cp310-macosx_11_0_arm64.whl (1.1 MB)
Collecting numpy>=1.22
Using cached numpy-1.24.2-cp310-cp310-macosx_11_0_arm64.whl (13.9 MB)
Collecting requests>=2.28
Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Collecting pandas>=1.4
Using cached pandas-2.0.0-cp310-cp310-macosx_11_0_arm64.whl (10.8 MB)
Collecting pyproj>=3.3
Using cached pyproj-3.5.0-cp310-cp310-macosx_11_0_arm64.whl (5.7 MB)
Collecting matplotlib>=3.5
Using cached matplotlib-3.7.1-cp310-cp310-macosx_11_0_arm64.whl (7.3 MB)
Collecting geopandas>=0.11
Using cached geopandas-0.12.2-py3-none-any.whl (1.1 MB)
Collecting Rtree>=1.0
Using cached Rtree-1.0.1-cp310-cp310-macosx_11_0_arm64.whl (814 kB)
Collecting networkx>=2.8
Using cached networkx-3.0-py3-none-any.whl (2.0 MB)
Collecting fiona>=1.8
Using cached Fiona-1.9.2.tar.gz (919 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
<string>:82: DeprecationWarning: The 'warn'functionis deprecated, use 'warning' instead
WARNING:root:Failed to get options via gdal-config: [Errno 2] No such file or directory: 'gdal-config'
CRITICAL:root:A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Somewhere (probably Github), I saw that someone suggested to install gdal with conda:
I personally wouldn't say this is a prettymaps specific issue, but I'll let @marceloprates decide that. I ran into the same issue trying to install GeoPandas on M1 Mac (failed at trying to build Wheels for Fiona).
I cannot run
pip install prettymaps
on a M1 Macbook Pro running OSX Ventura 13.1 (22C65).I use Conda to manage my Python environments. I created a fresh environment with Python 3.10.
The output in the terminal when installation fails.
Somewhere (probably Github), I saw that someone suggested to install
gdal
with conda:After which the installation of
prettymaps
succeeds:The text was updated successfully, but these errors were encountered: