Vegaz 3 Posted November 5, 2023 Share Posted November 5, 2023 Does anyone have a MySQLdb to FTP to? I am trying to create item_proto and mob_proto.txt via proto.py in my files and a message pops up: Can anyone help/send? python proto.py proto.py:583: SyntaxWarning: name 'errors' is assigned to before global declaration global errors proto.py:592: SyntaxWarning: name 'errors' is assigned to before global declaration global errors Traceback (most recent call last): File "proto.py", line 4, in <module> import MySQLdb ImportError: No module named MySQLdb proto.py line 4: #!/usr/bin/env python #-*- coding" utf-8 -*- #Modified by Deucalion import MySQLdb host_mysql = 'xxx' user_mysql = 'xxx' passwd_mysql = 'xxx' Link to comment Share on other sites More sharing options...
Active+ Member m2Ciaran 395 Posted November 5, 2023 Active+ Member Share Posted November 5, 2023 Search for python module via pkg search mysql and install it Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now