OGCServer icon indicating copy to clipboard operation
OGCServer copied to clipboard

python3 error

Open guyanf opened this issue 5 years ago • 1 comments

ubuntu20.04 python3.8

There are some errors when I run ogcserver...

Traceback (most recent call last): File "/usr/local/bin/ogcserver", line 4, in import('pkg_resources').run_script('ogcserver==0.1.1', 'ogcserver') File "/usr/local/lib/python3.8/dist-packages/pkg_resources/init.py", line 666, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/local/lib/python3.8/dist-packages/pkg_resources/init.py", line 1469, in run_script script_code = compile(script_text, script_filename, 'exec') File "/usr/local/lib/python3.8/dist-packages/ogcserver-0.1.1-py3.8.egg/EGG-INFO/scripts/ogcserver", line 48 print "Listening at %s:%s...." % (host,port) ^ SyntaxError: invalid syntax

guyanf avatar Jun 17 '20 09:06 guyanf

It looks like the print function's error.

guyanf avatar Jun 17 '20 09:06 guyanf