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
Hello. This looks magical. Thank you.
(pmaps-env) PS C:\Users\{name}> pip install prettymaps Collecting prettymaps Downloading prettymaps-0.1.3-py3-none-any.whl (22 kB) Collecting tabulate==0.8.9 Downloading tabulate-0.8.9-py3-none-any.whl (25 kB) Collecting osmnx==1.0.1 Downloading osmnx-1.0.1-py2.py3-none-any.whl (87 kB) ---------------------------------------- 87.5/87.5 kB 449.2 kB/s eta 0:00:00 Collecting pandas>=1.1 Downloading pandas-1.5.0-cp38-cp38-win_amd64.whl (11.0 MB) ---------------------------------------- 11.0/11.0 MB 96.8 kB/s eta 0:00:00 Collecting Rtree>=0.9 Downloading Rtree-1.0.1-cp38-cp38-win_amd64.whl (433 kB) ---------------------------------------- 433.3/433.3 kB 105.8 kB/s eta 0:00:00 Collecting geopandas>=0.8 Downloading geopandas-0.11.1-py3-none-any.whl (1.0 MB) ---------------------------------------- 1.0/1.0 MB 131.9 kB/s eta 0:00:00 Collecting descartes>=1.1 Downloading descartes-1.1.0-py3-none-any.whl (5.8 kB) Collecting requests>=2.25 Downloading requests-2.28.1-py3-none-any.whl (62 kB) ---------------------------------------- 62.8/62.8 kB 64.7 kB/s eta 0:00:00 Requirement already satisfied: Shapely>=1.7 in c:\users\{name}\miniconda3\envs\pmaps-env\lib\site-packages (from osmnx==1.0.1->prettymaps) (1.8.2) Collecting pyproj>=2.6 Downloading pyproj-3.4.0-cp38-cp38-win_amd64.whl (4.8 MB) ---------------------------------------- 4.8/4.8 MB 104.9 kB/s eta 0:00:00 Collecting matplotlib>=3.3 Downloading matplotlib-3.6.1-cp38-cp38-win_amd64.whl (7.2 MB) ---------------------------------------- 7.2/7.2 MB 112.2 kB/s eta 0:00:00 Collecting networkx>=2.5 Downloading networkx-2.8.7-py3-none-any.whl (2.0 MB) ---------------------------------------- 2.0/2.0 MB 127.8 kB/s eta 0:00:00 Collecting numpy>=1.19 Downloading numpy-1.23.4-cp38-cp38-win_amd64.whl (14.7 MB) ---------------------------------------- 14.7/14.7 MB 107.0 kB/s eta 0:00:00 Collecting fiona>=1.8 Using cached Fiona-1.8.21.tar.gz (1.0 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] 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.
Help please.
The text was updated successfully, but these errors were encountered:
I went:
conda install -c conda-forge geopandas conda install -c conda-forge osmnx=1.2.1 conda install -c conda-forge tabulate conda install -c conda-forge descartes
then in jupyter:
import osmnx as ox # Matplotlib-related import matplotlib.font_manager as fm from matplotlib import pyplot as plt from descartes import PolygonPatch
followed by:
from fetch import * from draw import *
Hello. This looks magical. Thank you.
Help please.
The text was updated successfully, but these errors were encountered: