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-$ pip search mysql-connector | grep 
--color mysql-connector-python
mysql-connector-python (8.0.20)   - MySQL driver written in Python
mysql-connector-python-dd (2.0.2) - MySQL driver written in Python
mysql-connector-python-rf (2.2.2) - MySQL driver written in Python
pi@raspberrypi:~/blescan/iBeacon-Scanner-$ pip install mysql-connector-python-rf
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: mysql-connector-python-rf in 
/home/pi/.local/lib/python3.7/site-packages (2.2.2)
pi@raspberrypi:~/blescan/iBeacon-Scanner-$ sudo python3 BeaconClass.py
Traceback (most recent call last):  File 
"BeaconClass.py", line 7, in 
import mysql.connector as mariadb 
ModuleNotFoundError: No module named 'mysql'
pi@raspberrypi:~/blescan/iBeacon-Scanner-$
-- 
https://mail.python.org/mailman/listinfo/python-list


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 work.

pi@raspberrypi:~/blescan/iBeacon-Scanner-$ pip search mysql-connector | grep 
--color mysql-connector-python
mysql-connector-python (8.0.20)   - MySQL driver written in Python
mysql-connector-python-dd (2.0.2) - MySQL driver written in Python
mysql-connector-python-rf (2.2.2) - MySQL driver written in Python
pi@raspberrypi:~/blescan/iBeacon-Scanner-$ pip install mysql-connector-python-rf
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: mysql-connector-python-rf in 
/home/pi/.local/lib/python3.7/site-packages (2.2.2)
pi@raspberrypi:~/blescan/iBeacon-Scanner-$ sudo python3 BeaconClass.py
Traceback (most recent call last):  File 
"BeaconClass.py", line 7, in 
 import mysql.connector as mariadb 
ModuleNotFoundError: No module named 'mysql'
pi@raspberrypi:~/blescan/iBeacon-Scanner-$

I believe that it's "pip" for "python" (Python 2) and "pip3" for 
"python3" (Python 3).


Personally, I'd use:

python3 -m pip ...

or:

sudo python3 -m pip ...

instead.
--
https://mail.python.org/mailman/listinfo/python-list


Sharing our research and licenses for going online with Python events

2020-05-07 Thread M.-A. Lemburg
In March 2020, we had to make a tough decision on whether to cancel
EuroPython 2020 or run it online. Since we did not want to lose
continuity and all the work we had already put into the in-person
event, we decided to go for an online version.

Now, just as many other in-person events, running the online version
required a lot of research, experimentation, gaining knowledge in
using online conference tools and finding a concept which would allow
us to carry over as much of the in-person conference experience to the
online version as possible.


  * EuroPython 2020 Online *

https://ep2020.europython.eu/

This is an on-going effort, but we believe that our existing research
will help other Python events go online as well and want to share this
knowledge with you.


Running Online Conferences
--

The two central documents we have are:

- EuroPython 2020 - Online Conference Tools

  This covers research on a lot of different tools available out
  there, our experience with them, hints and tips on how to use them
  effectively (esp. for Zoom and Discord).


https://docs.google.com/document/d/1OAVtZnxVgmkDGvSV1vEzra7m5Nfjr-81kCrustzxAek/edit#

- EuroPython 2020 - Virtual Conference Concept

  Since we had to start afresh with the conference concept, we ran and
  still are running a brainstorming phase to come up with ideas and
  are now starting to materialize these into a concept, which we’ll
  use as basis for running EuroPython this year.


https://docs.google.com/document/d/1aGnYM3RlyLFUmdhnykGfgD6gNXJYo8zateu9Re_fdNg/edit#

If you have questions around these documents and their content, feel
free to contact us at helpd...@europython.eu.


Sharing our Zoom Webinar and Pro licenses
-

In addition to sharing our research, we’d also like to share the Zoom
Webinar and Pro licenses we have with other events, where possible. We
have already shared them with:

- PyAmsterdam
- Remote Python Pizza

The only thing we ask is that some of our work group members can
participate in the event as co-host to observe and help, since we need
to train and gain more experience in using these tools. As a bonus, we
can also help with the configuration and share our existing
experience.

If you’re interested in this, please get in contact with us at
helpd...@europython.eu.


Help spread the word


Please help us spread this message by sharing it on your social
networks as widely as possible. Thank you !

Link to the blog post:

https://www.europython-society.org/post/617463429296472064/sharing-our-research-and-licenses-for-going-online

Tweet:

https://twitter.com/europythons/status/1258392513863397378

Thanks,
--
EuroPython 2020 Team
https://ep2020.europython.eu/
https://www.europython-society.org/

-- 
https://mail.python.org/mailman/listinfo/python-list


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 work.
> > The DB is logged in as root as this was the only way I could make it work.
> > 
> > pi@raspberrypi:~/blescan/iBeacon-Scanner-$ pip search mysql-connector | 
> > grep --color mysql-connector-python
> > mysql-connector-python (8.0.20)   - MySQL driver written in 
> > Python
> > mysql-connector-python-dd (2.0.2) - MySQL driver written in 
> > Python
> > mysql-connector-python-rf (2.2.2) - MySQL driver written in 
> > Python
> > pi@raspberrypi:~/blescan/iBeacon-Scanner-$ pip install 
> > mysql-connector-python-rf
> > Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
> > Requirement already satisfied: mysql-connector-python-rf in 
> > /home/pi/.local/lib/python3.7/site-packages (2.2.2)
> > pi@raspberrypi:~/blescan/iBeacon-Scanner-$ sudo python3 BeaconClass.py
> > Traceback (most recent call last):  File 
> > "BeaconClass.py", line 7, in 
> >  import mysql.connector as mariadb 
> > ModuleNotFoundError: No module named 'mysql'
> > pi@raspberrypi:~/blescan/iBeacon-Scanner-$
> > 
> I believe that it's "pip" for "python" (Python 2) and "pip3" for 
> "python3" (Python 3).
> 
> Personally, I'd use:
> 
> python3 -m pip ...
> 
> or:
> 
> sudo python3 -m pip ...
> 
> instead.

This only happens when on the command line trying to run the python script. it 
works fine in visual studio code. 

Resinstalled all of the packages mentioned above, it keeps saying it is all 
fine. 

What is different in MS debugger?
-- 
https://mail.python.org/mailman/listinfo/python-list


Automatic Minecraft Server Creator & Manager

2020-05-07 Thread Emirhan Güneç
This mini-program/script helps you to creating self-hosted minecraft servers. 
Just open 25565 port on your router or use Hamachi and run this script. Then 
follow the instructions in terminal correctly and don't forget to edit 
server.properties. This python3 script for linux works correctly and windows.

https://github.com/emirhangunec/minecraftservermanagement

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Automatic Minecraft Server Creator & Manager

2020-05-07 Thread Emirhan Güneç
8 Mayıs 2020 Cuma 00:06:37 UTC+3 tarihinde Emirhan Güneç yazdı:
> This mini-program/script helps you to creating self-hosted minecraft servers. 
> Just open 25565 port on your router or use Hamachi and run this script. Then 
> follow the instructions in terminal correctly and don't forget to edit 
> server.properties. This python3 script for linux works correctly and windows.
> 
> https://github.com/emirhangunec/minecraftservermanagement

This python3 script works correctly with windows too.
-- 
https://mail.python.org/mailman/listinfo/python-list


Not able use installed modules

2020-05-07 Thread Music lover
Hello python team,
  I have installed the latest version of python from your site.
Then I successfully installed some modules like :- numpy , pandas,
matplotlib  from command prompt. But I am not able to use them while
programing in python Idle. It's saying " no module named 'matplotlib' ."


Please help me as soon as possible.

Thanks and regards
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Idle not opening

2020-05-07 Thread Terry Reedy

On 5/6/2020 9:46 AM, Rance Victor wrote:

Hey there,
After successfully installing Python 3.8.2(64 bit)  on my system(windows 10
64 bit OS), my idle is not opening. I've tried uninstalling and
reinstalling it again but still the same result.


Was the box for installing tkinter and IDLE checked?
How did you try to run IDLE?
Can you run Python itself -- from the start menu or command prompt, the 
latter either with > py or > python
Is so, does 'import tkinter' work?  Does 'dir(tkinter)' has a couple 
hundred entries?
If the above, what does 'import idlelib.idle' do, or at command line, 
'py -m idlelib'?


--
https://mail.python.org/mailman/listinfo/python-list


Re: Not able use installed modules

2020-05-07 Thread Souvik Dutta
What is your os? If you are on windows then check out app execution
aliases. There will be two different python versions. Uncheck one and try
installing again. If that doesn't work then uncheck the other and try
installing again. Have you ever downloaded any other version of python but
didn't uninstall it? If so then you will have to use pip3 install

Souvik flutter dev

On Fri, May 8, 2020, 2:49 AM Music lover  wrote:

> Hello python team,
>   I have installed the latest version of python from your site.
> Then I successfully installed some modules like :- numpy , pandas,
> matplotlib  from command prompt. But I am not able to use them while
> programing in python Idle. It's saying " no module named 'matplotlib' ."
>
>
> Please help me as soon as possible.
>
> Thanks and regards
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


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, the package installed under my normal login it seems did not have the 
access that mysql needed for root. hmm. 
-- 
https://mail.python.org/mailman/listinfo/python-list


There is some problem in the python software it was not installing in my laptop

2020-05-07 Thread sourav susari
    

    

   Sent from [1]Mail for Windows 10

    

References

   Visible links
   1. https://go.microsoft.com/fwlink/?LinkId=550986
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: There is some problem in the python software it was not installing in my laptop

2020-05-07 Thread Souvik Dutta
What is the problem? You cannot attach images or any file. You will have to
say in words. This list does not support attachments.

Souvik flutter dev

On Fri, May 8, 2020, 8:51 AM sourav susari 
wrote:

>
>
>
>
>Sent from [1]Mail for Windows 10
>
>
>
> References
>
>Visible links
>1. https://go.microsoft.com/fwlink/?LinkId=550986
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list