mapnik/OGCServer

Problems with setup.py - Ubuntu Server 12.04

Closed this issue · 3 comments

Hi, My Name is Andre, I've been having problemns installing the OGCServer. I already looked it up and didn't find anything

Here is the traceback my Issue:

andre@andre:~/OGCServer$ sudo python setup.py install
[sudo] password for andre:
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /usr/local/lib/python2.7/dist-packages/ogcserver-0.1.0.egg-info
Writing /usr/local/lib/python2.7/dist-packages/ogcserver-0.1.0.egg-info
Traceback (most recent call last):
File "setup.py", line 64, in
sys.stderr.write('%s\n' % warning)
NameError: name 'sys' is not defined

I'm Using Ubuntu Server 12.04 64x and my mapnik installation is OK (already created the sample map like in the tutorial).
My Python version is 2.7.3

Thanks.

Do you have python installed? can you try executing "python", then "import sys"?

Ops sorry, it looks there was an error in the setup.py file. I just corrected it: a0b723a

Thanks a lot!