ID 528768 - Importing the PyGraphviz library errors

Follow

Problem summary
Importing the PyGraphviz library errors. This occurs as the shipped Graphviz/PyGraphviz libraries are still using Python 2.
 
Customer reported version
Katana 6.0v1
 
Customer reported platform
N/A
 
Steps to reproduce
 
1) Open Katana on a Linux machine and in the Python tab run import pygraphviz
 
Expected behaviour
Katana imports the PyGraphviz library.
 
Actual behaviour
Katana prints the following error:
File "<string>", line 1, in <module>  File "/shared/Katana6.0v1/bin/python/pygraphviz/__init__.py", line 67    print "pygraphviz-"+__version__                      ^SyntaxError: Missing parentheses in call to 'print'. Did you mean print("pygraphviz-"+__version__)?
 
Workaround
Unknown. 
 
Reproduced by support
This bug has been reproduced in:
Katana 6.0v1 - CentOS 7
Katana 5.0v4 - CentOS 7
Katana 5.0v1 - CentOS 7
 
Earliest version tested
Katana 5.0v1 - Python 3 was not used before this version.
 

    We're sorry to hear that

    Please tell us why