python - Cannot run anything from mysql-utilities: "No module named mysql.utilities.common.tools" -
redhat 6.5. installed via rpm repos mysql-utilities 1.3.6 , mysql-connector 1.1.6 packages. mysqlrplcheck
executed (though never found out if worked). realized version of suite missing need, mysqlrplsync
. downloaded , installed 1.5.4 directly oracle. found out mysql-connector
1.1 old , upgraded 2.1.2 of suite.
now if run any of suites programs, get:
traceback (most recent call last): file "/usr/bin/mysqlrplcheck", line 24, in <module> mysql.utilities.common.tools import check_python_version importerror: no module named mysql.utilities.common.tools
i think there should mysql.py/mysql.pyc in <pythonlibpath>/
directory, there none. silly packaging error on oracle's part?
note: not duplicate of 19247867 wasn't answered anyway. different environment, (significantly) different versions of software.
not duplicate of 24267017 nor referral because connector installed. (though might problem... see comment)
update: possibly fixed in mysql-utilities 2.1.3. see last comment @ bug report: https://bugs.mysql.com/bug.php?id=77819
for getting error on ubuntu, installing .deb oracle or using apt-get did not work me, did work was:
wget https://dev.mysql.com/get/downloads/mysqlguitools/mysql-utilities-1.5.6.tar.gz tar -xvf mysql-utilities-1.5.6.tar.gz cd mysql-utilities-1.5.6 sudo python2.7 setup.py install
Comments
Post a Comment