mysql-python won't install. Keeps throwing up errors

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
#1
Hi,

I am trying to install via terminal as opposed to the image.

Upon searching around it seems as though mysql-python is not supported in python3 and throws up various issues like
Code:
ImportError: No module named 'ConfigParser'

trying to use 
Code:
pip2 install mysql-python
 does not help either as mysql-python fails to build and throws errors such as 
Code:
error: duplicate member ‘reconnect’

Is there any way that support could be added for newer mysql packages such as mysqlclient?
BTW: This is for the installation from script. This is a great project and I would love to give it a spin but this issue keeps popping up.
Thanks in advance for any help!
Reply
#1
Hi,

I am trying to install via terminal as opposed to the image.

Upon searching around it seems as though mysql-python is not supported in python3 and throws up various issues like
Code:
ImportError: No module named 'ConfigParser'

trying to use 
Code:
pip2 install mysql-python
 does not help either as mysql-python fails to build and throws errors such as 
Code:
error: duplicate member ‘reconnect’

Is there any way that support could be added for newer mysql packages such as mysqlclient?
BTW: This is for the installation from script. This is a great project and I would love to give it a spin but this issue keeps popping up.
Thanks in advance for any help!
Reply
#2
Hi,

What version of raspbian are you using ?
KeexyBox has not yet been tested on versions greater than 2020-08-20-raspios-buster-armhf-lite.

https://downloads.raspberrypi.org/raspio...020-08-24/

If there is a new implementation of MySQL for python in the latest versions of RaspiOS, we will integrate them in the next version of KeexyBox.

Paul
Reply
#2
Hi,

What version of raspbian are you using ?
KeexyBox has not yet been tested on versions greater than 2020-08-20-raspios-buster-armhf-lite.

https://downloads.raspberrypi.org/raspio...020-08-24/

If there is a new implementation of MySQL for python in the latest versions of RaspiOS, we will integrate them in the next version of KeexyBox.

Paul
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)