Re: Debian Buster: ModuleNotFoundError: No module named 'mysql'

2020-05-07 Thread rackflot
I have the same issue. I use visual code from Ms and the remote debugging over an ssh. I am able to do all mysql while in the debugger but running on command line does not work. The DB is logged in as root as this was the only way I could make it work. pi@raspberrypi:~/blescan/iBeacon-Scanner-

Re: Debian Buster: ModuleNotFoundError: No module named 'mysql'

2020-05-07 Thread rackflot
On Thursday, May 7, 2020 at 7:57:14 AM UTC-4, MRAB wrote: > On 2020-05-07 12:30, rackf...@gmail.com wrote: > > I have the same issue. I use visual code from Ms and the remote debugging > > over an ssh. > > I am able to do all mysql while in the debugger but running on command line > > does not wo

Re: Debian Buster: ModuleNotFoundError: No module named 'mysql'

2020-05-07 Thread rackflot
i have figured it out. When i made the database, i made it with root access. I think i had to do that to make it accessable for a webpage. i changed to SU and installed this. pip install mysql-connector-python-rf and the other listed above. dumped out of su then tried it again. it worked. So