python-mapnik
python-mapnik copied to clipboard
can't install on Centos 7
I'm unable to install the library after downloading it. I tried in and out of a virtualenv. It might be that I need plain mapnik installed first, but I had troubles doing that too.
I have everything working fine on Ubuntu, but I need to shift to Centos 7 for various reasons, and Mapnik is proving to be problematic there.
Thanks in advance.
python-mapnik-master $ python setup.py install Traceback (most recent call last): File "setup.py", line 114, in
lib_path = os.path.join(check_output([mapnik_config, '--prefix']),'lib') File "setup.py", line 20, in check_output output = subprocess.check_output(args) File "/usr/lib64/python2.7/subprocess.py", line 568, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib64/python2.7/subprocess.py", line 711, in init errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
I was trying these old instructions for a Centos build of plain mapnik, not python mapnik. https://gist.github.com/springmeyer/3427021 I have an issue posted there about the problems doing so.