Runtime error python ez_setup.py, except pkg_resources.VersionConflict, e:

In a recent study Bayesian network, go pebl official website downloaded the tar package ready to use easy_install installation, an error when running python ez_setup.py Here Insert Picture Description
later found pebl this library has been 10 years not updated. So there are some formatting ez_setup.py need to be updated to version to use more python3

1 . Ez_setup.py file open, line 91 will be " the except pkg_resources.VersionConflict, E: " read " the except pkg_resources.VersionConflict AS E: "

2. The print to print () format
picture:
Here Insert Picture Description

After the change:
Here Insert Picture Description
this will solve the problem of error.

Published 10 original articles · won praise 20 · views 4377

Guess you like

Origin blog.csdn.net/Joker00007/article/details/104442220