I am trying to install python gsconfig for use with geoserver REST and got errors. I tried both the user command pip and githup for developer. Not sure what was wrong:
git clone git://github.com/opengeo/gsconfig.git && cd gsconfig && python setup.py develop remote: Reusing existing pack: 1704, done. remote: Total 1704 (delta 0), reused 0 (delta 0) Receiving objects: 100% (1704/1704), 865.95 KiB | 220 KiB/s, done. Resolving deltas: 100% (837/837), done. File "setup.py", line 8 except IOError,e: ^ SyntaxError: invalid syntax pip install gsconfig Got the following errors in pip.log Downloading/unpacking gsconfig Getting page https://pypi.python.org/simple/gsconfig/ URLs to search for versions for gsconfig: * https://pypi.python.org/simple/gsconfig/ Analyzing links from page https://pypi.python.org/simple/gsconfig/ Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.5.1.tar.gz#md5=775c970fa81de213a455399a5e8ee13a (from https://pypi.python.org/simple/gsconfig/), version: 0.5.1 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.5.2.tar.gz#md5=f2091547f713a7ff2559520aa55df046 (from https://pypi.python.org/simple/gsconfig/), version: 0.5.2 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.5.3.tar.gz#md5=f4b2a204fd582db06f6d623779ac00d6 (from https://pypi.python.org/simple/gsconfig/), version: 0.5.3 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.5.4.tar.gz#md5=4090fc5d9de0ddbcc2d3f2adf727a53f (from https://pypi.python.org/simple/gsconfig/), version: 0.5.4 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.5.5.tar.gz#md5=a9fcb47304c61323faf689c528a61771 (from https://pypi.python.org/simple/gsconfig/), version: 0.5.5 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.5.tar.gz#md5=344ac6e00c5ca2a3779605eb42fa6974 (from https://pypi.python.org/simple/gsconfig/), version: 0.5 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.6.0.tar.gz#md5=2614a7b57f87636618068b4a07c98c1f (from https://pypi.python.org/simple/gsconfig/), version: 0.6.0 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.6.1.tar.gz#md5=7b7b4ccba473de0b0c9ec893c9fa4d86 (from https://pypi.python.org/simple/gsconfig/), version: 0.6.1 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.6.2.zip#md5=016ceddaa3d296f5408b94ce91381417 (from https://pypi.python.org/simple/gsconfig/), version: 0.6.2 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.6.3.tar.gz#md5=6f598bc4b9036ff2add99262bbeb7059 (from https://pypi.python.org/simple/gsconfig/), version: 0.6.3 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.6.4.tar.gz#md5=f73b03848d84039d8cb1e00ccadf805f (from https://pypi.python.org/simple/gsconfig/), version: 0.6.4 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.6.5.tar.gz#md5=501ffa6cbc158902fa318073f3fd22b4 (from https://pypi.python.org/simple/gsconfig/), version: 0.6.5 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.6.6.tar.gz#md5=149b6d9e0cb701a737444c76eddc44bb (from https://pypi.python.org/simple/gsconfig/), version: 0.6.6 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.6.7.tar.gz#md5=ac56650ef27c327eff829ebc95e1c65a (from https://pypi.python.org/simple/gsconfig/), version: 0.6.7 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.6.8.tar.gz#md5=8125ce97133a92d49ec88afb0ff38988 (from https://pypi.python.org/simple/gsconfig/), version: 0.6.8 Found link https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.6.9.tar.gz#md5=c8216337621305f7f275f59234b6f5bf (from https://pypi.python.org/simple/gsconfig/), version: 0.6.9 Using version 0.6.9 (newest of versions: 0.6.9, 0.6.8, 0.6.7, 0.6.6, 0.6.5, 0.6.4, 0.6.3, 0.6.2, 0.6.1, 0.6.0, 0.5.5, 0.5.4, 0.5.3, 0.5.2, 0.5.1, 0.5) Downloading gsconfig-0.6.9.tar.gz Downloading from URL https://pypi.python.org/packages/source/g/gsconfig/gsconfig-0.6.9.tar.gz#md5=c8216337621305f7f275f59234b6f5bf (from https://pypi.python.org/simple/gsconfig/) Running setup.py (path:/tmp/pip_build_vriuser/gsconfig/setup.py) egg_info for package gsconfig Traceback (most recent call last): File "<string>", line 17, in <module> File "/tmp/pip_build_vriuser/gsconfig/setup.py", line 8 except IOError,e: SyntaxError: invalid syntax Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 17, in <module> File "/tmp/pip_build_vriuser/gsconfig/setup.py", line 8 except IOError,e: ^ SyntaxError: invalid syntax ---------------------------------------- Cleaning up... Removing temporary dir /tmp/pip_build_vriuser... Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_vriuser/gsconfig Exception information: Traceback (most recent call last): File "/usr/local/lib/python3.3/site-packages/pip-1.5.6-py3.3.egg/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/usr/local/lib/python3.3/site-packages/pip-1.5.6-py3.3.egg/pip/commands/install.py", line 278, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/usr/local/lib/python3.3/site-packages/pip-1.5.6-py3.3.egg/pip/req.py", line 1229, in prepare_files req_to_install.run_egg_info() File "/usr/local/lib/python3.3/site-packages/pip-1.5.6-py3.3.egg/pip/req.py", line 325, in run_egg_info command_desc='python setup.py egg_info') File "/usr/local/lib/python3.3/site-packages/pip-1.5.6-py3.3.egg/pip/util.py", line 697, in call_subprocess % (command_desc, proc.returncode, cwd)) pip.exceptions.InstallationError: Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_vriuser/gsconfig I am using python 3.3.5 Machine: Linux CentOS 6.2 Can someone tell me what is wrong with my machine configuration. Regards, Tam -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-installing-gsconfig-for-python-tp5148883.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users