Skip to content

python3 error #40

@guyanf

Description

@guyanf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions