Skip to content

Installation problem #12

@omidfathi

Description

@omidfathi

Hi
when i try to install OpenOPC by "python3 setup.py install" i get these messages :

running install
running bdist_egg
running egg_info
writing OpenOPC.egg-info/PKG-INFO
writing dependency_links to OpenOPC.egg-info/dependency_links.txt
writing top-level names to OpenOPC.egg-info/top_level.txt
reading manifest file 'OpenOPC.egg-info/SOURCES.txt'
writing manifest file 'OpenOPC.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/OpenOPC
copying build/lib/OpenOPC/OpenOPCService.py -> build/bdist.linux-x86_64/egg/OpenOPC
copying build/lib/OpenOPC/opc.py -> build/bdist.linux-x86_64/egg/OpenOPC
copying build/lib/OpenOPC/SystemHealth.py -> build/bdist.linux-x86_64/egg/OpenOPC
copying build/lib/OpenOPC/init.py -> build/bdist.linux-x86_64/egg/OpenOPC
byte-compiling build/bdist.linux-x86_64/egg/OpenOPC/OpenOPCService.py to OpenOPCService.cpython-38.pyc
File "build/bdist.linux-x86_64/egg/OpenOPC/OpenOPCService.py", line 27
print 'Pyro module required (http://pyro.sourceforge.net/)'
^
SyntaxError: invalid syntax

byte-compiling build/bdist.linux-x86_64/egg/OpenOPC/opc.py to opc.cpython-38.pyc
File "build/bdist.linux-x86_64/egg/OpenOPC/opc.py", line 78
print 'OpenOPC Command Line Client', OpenOPC.version
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('OpenOPC Command Line Client', OpenOPC.version)?

byte-compiling build/bdist.linux-x86_64/egg/OpenOPC/SystemHealth.py to SystemHealth.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/OpenOPC/init.py to init.cpython-38.pyc
File "build/bdist.linux-x86_64/egg/OpenOPC/init.py", line 167
except pythoncom.com_error, err:
^
SyntaxError: invalid syntax

creating build/bdist.linux-x86_64/egg/EGG-INFO
copying OpenOPC.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying OpenOPC.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying OpenOPC.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying OpenOPC.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying OpenOPC.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating 'dist/OpenOPC-1.2-py3.8.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing OpenOPC-1.2-py3.8.egg
removing '/usr/local/lib/python3.8/dist-packages/OpenOPC-1.2-py3.8.egg' (and everything under it)
creating /usr/local/lib/python3.8/dist-packages/OpenOPC-1.2-py3.8.egg
Extracting OpenOPC-1.2-py3.8.egg to /usr/local/lib/python3.8/dist-packages
File "/usr/local/lib/python3.8/dist-packages/OpenOPC-1.2-py3.8.egg/OpenOPC/OpenOPCService.py", line 27
print 'Pyro module required (http://pyro.sourceforge.net/)'
^
SyntaxError: invalid syntax

File "/usr/local/lib/python3.8/dist-packages/OpenOPC-1.2-py3.8.egg/OpenOPC/init.py", line 167
except pythoncom.com_error, err:
^
SyntaxError: invalid syntax

File "/usr/local/lib/python3.8/dist-packages/OpenOPC-1.2-py3.8.egg/OpenOPC/opc.py", line 78
print 'OpenOPC Command Line Client', OpenOPC.version
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('OpenOPC Command Line Client', OpenOPC.version)?

OpenOPC 1.2 is already the active version in easy-install.pth

Installed /usr/local/lib/python3.8/dist-packages/OpenOPC-1.2-py3.8.egg
Processing dependencies for OpenOPC==1.2
Finished processing dependencies for OpenOPC==1.2

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