sql 上线,报No module named 'configparser' #2089
ouyangxudu
started this conversation in
General
Replies: 1 comment
-
建议升级最新版本,太老的版本以后不会维护了 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
sql 上线,报No module named 'configparser' ,版本 1.7.11
No module named 'configparser' : Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/django_q/cluster.py", line 381, in worker
res = f(*task['args'], **task['kwargs'])
File "/data/sql/Archery-1.7.11/sql/utils/execute_sql.py", line 34, in execute
execute_engine = get_engine(instance=workflow_detail.instance)
File "/data/sql/Archery-1.7.11/sql/engines/init.py", line 106, in get_engine
from .mysql import MysqlEngine
File "/data/sql/Archery-1.7.11/sql/engines/mysql.py", line 7, in
import schemaobject
File "/usr/local/lib/python3.6/site-packages/schemaobject/init.py", line 12, in
from schemaobject.schema import SchemaObject
File "/usr/local/lib/python3.6/site-packages/schemaobject/schema.py", line 2, in
from schemaobject.connection import DatabaseConnection
File "/usr/local/lib/python3.6/site-packages/schemaobject/connection.py", line 2, in
import pymysql
File "/usr/local/lib64/python3.6/site-packages/pymysql/init.py", line 59, in
from . import connections # noqa: E402
File "/usr/local/lib64/python3.6/site-packages/pymysql/connections.py", line 19, in
from .optionfile import Parser
File "/usr/local/lib64/python3.6/site-packages/pymysql/optionfile.py", line 1, in
import configparser
ModuleNotFoundError: No module named 'configparser'
Beta Was this translation helpful? Give feedback.
All reactions