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

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 MRAB
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 work. The DB is logged in as root as this was the only way I could make it w

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-01-19 Thread 황병희
^Bart writes: >> pip is probably defaulting to Python 2.7. Try using pip3, or this more >> explicit syntax: > > Now it works! > > Python 3.7.3 (default, Apr 3 2019, 05:39:12) > [GCC 8.3.0] on linux > Type "help", "copyright", "credits" or "license()" for more information. > == RESTA

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

2020-01-18 Thread ^Bart
pip is probably defaulting to Python 2.7. Try using pip3, or this more explicit syntax: Now it works! Python 3.7.3 (default, Apr 3 2019, 05:39:12) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license()" for more information. >>> == RESTART: /home/gabriele/Corso_4.0/Pyth

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

2020-01-18 Thread Michael Torrie
On 1/18/20 9:03 AM, ^Bart wrote: >> What could I do to fix this issue?! :\ > > I understood I have Python 2.7 and Python 3 but I can't install modules > on Python 3... :\ > > ^Bart pip is probably defaulting to Python 2.7. Try using pip3, or this more explicit syntax: python3 -m pip install

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

2020-01-18 Thread ^Bart
What could I do to fix this issue?! :\ I understood I have Python 2.7 and Python 3 but I can't install modules on Python 3... :\ ^Bart -- https://mail.python.org/mailman/listinfo/python-list

Debian Buster: ModuleNotFoundError: No module named 'mysql'

2020-01-18 Thread ^Bart
Hi guys, I'd like to use Python to connect to my MariaDB db, it works from phpmyadmin and if I open a console with mysql -u root -p. I tried: $ pip search mysql-connector | grep --color mysql-connector-python mysql-connector-python (8.0.19) - MySQL driver written in Py