Open Rougree opened 5 years ago
Hi guys,
I'm trying to use OSRM. Pip install OSRM works. However "python setup.py" does not work for me. I'm getting this error:
Installed c:\users\rsale\onedrive\bureaublad\python-osrm.eggs\matplotlib-2.2.4-py3.6-win-amd64.egg Searching for GDAL==2.4 Reading https://pypi.org/simple/GDAL/ Downloading https://files.pythonhosted.org/packages/7c/b0/a2ecb10a68a319910c4681f452c83843b99c4ef6231d33a8e55b0104a50c/GDAL-2.4.0.tar.gz#sha256=b725a580e6faa0bc17edc3e6caa1da9e6efc401fab19e8482631ee179132b4df Best match: GDAL 2.4.0 Processing GDAL-2.4.0.tar.gz Writing C:\Users\RSale\AppData\Local\Temp\easyinstall-9l1ua9m\GDAL-2.4.0\setup.cfg Running GDAL-2.4.0\setup.py -q bdist_egg --dist-dir C:\Users\RSale\AppData\Local\Temp\easyinstall-9l1ua9m\GDAL-2.4.0\egg-dist-tmp-f4fccsfn gdal_wrap.cpp extensions/gdal_wrap.cpp(3173): fatal error C1083: Cannot open include file: 'cpl_port.h': No such file or directory error: Setup script exited with error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\bin\HostX86\x64\cl.exe' failed with exit status 2.
Can somebody help me?
I downloaded GDAL 2.4 on my computer and create evironment variables(something I found online for this error). However, this document automatically download GDAL from somewhere else.
Hi guys,
I'm trying to use OSRM. Pip install OSRM works. However "python setup.py" does not work for me. I'm getting this error:
Installed c:\users\rsale\onedrive\bureaublad\python-osrm.eggs\matplotlib-2.2.4-py3.6-win-amd64.egg Searching for GDAL==2.4 Reading https://pypi.org/simple/GDAL/ Downloading https://files.pythonhosted.org/packages/7c/b0/a2ecb10a68a319910c4681f452c83843b99c4ef6231d33a8e55b0104a50c/GDAL-2.4.0.tar.gz#sha256=b725a580e6faa0bc17edc3e6caa1da9e6efc401fab19e8482631ee179132b4df Best match: GDAL 2.4.0 Processing GDAL-2.4.0.tar.gz Writing C:\Users\RSale\AppData\Local\Temp\easyinstall-9l1ua9m\GDAL-2.4.0\setup.cfg Running GDAL-2.4.0\setup.py -q bdist_egg --dist-dir C:\Users\RSale\AppData\Local\Temp\easyinstall-9l1ua9m\GDAL-2.4.0\egg-dist-tmp-f4fccsfn gdal_wrap.cpp extensions/gdal_wrap.cpp(3173): fatal error C1083: Cannot open include file: 'cpl_port.h': No such file or directory error: Setup script exited with error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\bin\HostX86\x64\cl.exe' failed with exit status 2.
Can somebody help me?