Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on pip/git install #106

Open
lincoln7711 opened this issue Jan 19, 2023 · 3 comments
Open

Error on pip/git install #106

lincoln7711 opened this issue Jan 19, 2023 · 3 comments

Comments

@lincoln7711
Copy link

Having issues installing on both OSX and Ubuntu 22.04.1 LTS. Output pasted below:

% pip3 install git+https://github.com/marceloprates/prettymaps

Collecting git+https://github.com/marceloprates/prettymaps
Cloning https://github.com/marceloprates/prettymaps to /private/var/folders/hd/cddlbgbx35jgkq6542641s840000gq/T/pip-req-build-y0fsx0qx
Running command git clone --filter=blob:none --quiet https://github.com/marceloprates/prettymaps /private/var/folders/hd/cddlbgbx35jgkq6542641s840000gq/T/pip-req-build-y0fsx0qx
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

'prints/Erbil.svg'
'prints/erbil.svg'
'prints/Palmanova.svg'
'prints/palmanova.svg'

Resolved https://github.com/marceloprates/prettymaps to commit 3f3b8be
Preparing metadata (setup.py) ... done
Collecting osmnx==1.1.2
Using cached osmnx-1.1.2-py2.py3-none-any.whl (95 kB)
Collecting tabulate==0.8.9
Using cached tabulate-0.8.9-py3-none-any.whl (25 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 descartes==1.1.0
Using cached descartes-1.1.0-py3-none-any.whl (5.8 kB)
Requirement already satisfied: pyyaml==6.0.0 in /Users/andrewsmith/miniconda3/lib/python3.10/site-packages (from prettymaps==0.1.3) (6.0)
Collecting matplotlib
Using cached matplotlib-3.6.3-cp310-cp310-macosx_11_0_arm64.whl (7.2 MB)
Collecting pandas>=1.3
Using cached pandas-1.5.3-cp310-cp310-macosx_11_0_arm64.whl (10.9 MB)
Collecting pyproj>=3.2
Using cached pyproj-3.4.1-cp310-cp310-macosx_11_0_arm64.whl (5.7 MB)
Collecting geopandas>=0.10
Using cached geopandas-0.12.2-py3-none-any.whl (1.1 MB)
Collecting networkx>=2.6
Using cached networkx-3.0-py3-none-any.whl (2.0 MB)
Collecting Rtree>=0.9
Using cached Rtree-1.0.1-cp310-cp310-macosx_11_0_arm64.whl (814 kB)
Requirement already satisfied: numpy>=1.21 in /Users/andrewsmith/miniconda3/lib/python3.10/site-packages (from osmnx==1.1.2->prettymaps==0.1.3) (1.23.5)
Requirement already satisfied: requests>=2.26 in /Users/andrewsmith/miniconda3/lib/python3.10/site-packages (from osmnx==1.1.2->prettymaps==0.1.3) (2.28.1)
Requirement already satisfied: packaging in /Users/andrewsmith/miniconda3/lib/python3.10/site-packages (from geopandas>=0.10->osmnx==1.1.2->prettymaps==0.1.3) (22.0)
Collecting fiona>=1.8
Using cached Fiona-1.8.22.tar.gz (1.4 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [2 lines of output]
Failed to get options via gdal-config: [Errno 2] No such file or directory: 'gdal-config'
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: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

@mariana-s-fernandes
Copy link

I have the same issue on macOs Monterey (chip m1)

@tetriscode
Copy link

@mariana-s-fernandes using conda you can do conda install gdal

@marceloprates
Copy link
Owner

Hi, I have released a new version, v1.0.0, can you try installing it using pip and tell me if the issues persist?

pip install prettymaps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants