Easy_install Gdal Error
Contents |
Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
Pypi Gdal
answers to any questions you might have Meta Discuss the workings fatal error: cpl_port.h: no such file or directory and policies of this site About Us Learn more about Stack Overflow the company Business
Gdal Virtualenv
Learn more about hiring developers or posting ads with us Geographic Information Systems Questions Tags Users Badges Unanswered Ask Question _ Geographic Information Systems Stack Exchange failed building wheel for gdal is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error Installing GDAL python package on a MAC up pip install gdal vote 3 down vote favorite 1 I'm trying to install the [GDAL python package][1] on a Mac (OSX Yosemite) with python 2.7.9 and GDAL 1.11.3. When I try $ sudo easy_install GDAL I get a number of errors ending with: error: Setup script exited with error: command 'gcc' failed with exit status 1 The full error log is below. I was wondering if anyone could point out what the issue(s) may be and how to fix them. FULL ERROR MESSAGE: Searching for GDAL Reading https://pypi.python.org/simple/GDAL/ Best match: GDAL 2.0.1 Downloading https://pypi.python.org/packages/source/G/GDAL/GDAL-2.0.1.tar.gz#md5=df013c4417a3820b6d59c9b01d2c68c9 Processing GDAL-2.0.1.tar.gz Writing /tmp/easy_install-tKnmjc/GDAL-2.0.1/setup.cfg Running GDAL-2.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-tKnmjc/GDAL-2.0.1/egg-dist-tmp-SGCc8W warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option] warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option] extensions/gdal_wrap.cpp:4265:47: error: use of undeclared identifier 'GDALDatasetCreateLayer'; did you mean 'GDALDatasetShadow_CreateLayer'? OGRLayerShadow* layer = (OGRLayerShadow*) GDALDatasetCreateLayer( self, ^~~~~~~~~~~~~~~~~~~~~~ GDALDatasetShadow_CreateLayer extensions/gdal_wrap.cpp:4264:28: note: 'GDALDatasetShadow_CreateLayer' declared here SWIGINTERN OGRLayerShadow *GDALDatasetShadow_CreateLayer(GDALDatasetShadow *self,cha... ^ extensions/gdal_wrap.cpp:4273:47: error: use of undeclare
Sign in Pricing Blog Support Search GitHub This repository Watch 184 Star 3,132
Fatal Error: Cpl_vsi_error.h: No Such File Or Directory
Fork 1,154 pypa/pip Code Issues 654 Pull requests 63 Projects __main__.gdal_config_error: [errno 2] no such file or directory 0 Pulse Graphs New issue GDAL install failed #3155 Closed odessky opened this Issue Oct
'cpl_vsi_error.h' File Not Found
1, 2015 · 2 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants odessky http://gis.stackexchange.com/questions/178250/error-installing-gdal-python-package-on-a-mac commented Oct 1, 2015 Hi. I was try install GDAL, and get this problem: ... gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I../../port -I../../gcore -I../../alg -I../../ogr/ -I/usr/include/python2.7 -I. -I/usr/include -c extensions/gdal_wrap.cpp -o build/temp.linux-x86_64-2.7/extensions/gdal_wrap.o cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for https://github.com/pypa/pip/issues/3155 C++ [enabled by default] extensions/gdal_wrap.cpp:2853:22: fatal error: cpl_port.h: No such file or directory .... The refrences to fix is http://gis.stackexchange.com/questions/28966/python-gdal-package-missing-header-file-when-installing-via-pip but is not work on my pip. Can you provide alternatives? xavfernandez commented Oct 2, 2015 It looks like you are missing some headers, did you try http://gis.stackexchange.com/questions/28966/python-gdal-package-missing-header-file-when-installing-via-pip/74060#74060 also ? odessky commented Oct 4, 2015 Yes, that is help if use command to install after export: pip install --no-use-wheel -r python_requirements.txt odessky closed this Oct 4, 2015 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. 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.
easy way The slightly harder way Problems Installing GDAL Installing the easy way GDAL the hard way Still no luck? Installing http://openblock.readthedocs.org/en/latest/install/common_install_problems.html and Setting Up the Demo Site Creating a Custom Site Based on OpenBlock Configuring OpenBlock Loading Geographic Data Indices and tables Using OpenBlock Packages Changes OpenBlock Docs » Installation and Setup » Common Installation Problems Edit on GitHub Common Installation Problems¶ This page covers some common installation problems. Please no such feel free to drop a line to the ebcode google group or visit the IRC channel #openblock on freenode with any problems you encounter. We're glad to help. Python Package Conflicts / Failures¶ Some quick things to check if you have any problems installing any of the Python package no such file dependencies: Make sure your virtualenv is activated. $VIRTUAL_ENV should point to the right directory. You should have at least version 1.0 of pip. Check pip --version Make sure pip is installed in the virtualenv. Check the output of which pip. You should have a recent version of distribute. Try easy_install --version. If it says at least 'distribute 0.6.14', you're OK. Don't try to combine the pip install -r and pip install -e commands. Doing so can result in the wrong version of a dependency. (This is a pip bug.) Problems Installing lxml¶ Installing the easy way¶ It's easiest to install your platform's package for lxml globally, if it has one. For example, on ubuntu: $ sudo apt-get install python-lxml (Note that if you want to take this approach, you must not run virtualenv with t