Re: Trying to use pyinstaller under python 3.11, and, recently started receiving error message about specific module/distribution

2024-04-04 Thread Jacob Kruger via Python-list
Ok, had received response on pyinstaller mailing list, but, also just related to trying clean uninstall/reinstall of modules, but, while checking that out, something else occurred to me, and, it now operates as it should. Anyway, what seemed to be causing issue was actually that, since, while

Re: Trying to use pyinstaller under python 3.11, and, recently started receiving error message about specific module/distribution

2024-04-03 Thread Jacob Kruger via Python-list
Ok, last update for now - checked out the following page on pyinstaller.org, and, ended up posting to the mailing list, so, let's see: https://pyinstaller.org/en/latest/when-things-go-wrong.html Jacob Kruger +2782 413 4791 "Resistance is futile!...Acceptance is versatile..." On 2024/04/02 17

Re: Trying to use pyinstaller under python 3.11, and, recently started receiving error message about specific module/distribution

2024-04-02 Thread Barry via Python-list
> On 1 Apr 2024, at 15:52, Jacob Kruger via Python-list > wrote: > > Found many, many mentions of errors, with some of the same keywords, but, no > resolutions that match my exact issue at all. Try asking the pyinstaller developers. I think there is a mailing list. Barry > > > As in, mos

Re: Trying to use pyinstaller under python 3.11, and, recently started receiving error message about specific module/distribution

2024-04-01 Thread Jacob Kruger via Python-list
Found many, many mentions of errors, with some of the same keywords, but, no resolutions that match my exact issue at all. As in, most of them are mentioning older versions of python, and, mainly different platforms - mac and linux, but, various google searches have not mentioned much of usin

Re: Trying to use pyinstaller under python 3.11, and, recently started receiving error message about specific module/distribution

2024-03-31 Thread Barry via Python-list
> On 31 Mar 2024, at 13:24, Jacob Kruger via Python-list > wrote: > > pkg_resources.DistributionNotFound: The 'altgraph' distribution was not found > and is required by the application I think I have seen this error being discussed before… A web search for pyinstaller and that error leads t

Trying to use pyinstaller under python 3.11, and, recently started receiving error message about specific module/distribution

2024-03-31 Thread Jacob Kruger via Python-list
This started happening this past week, and, while it's worked fine in the past, the moment I try to launch the pyinstaller process at all, to generate compiled output, or even if just launch it with no command line options, I receive the following error me

Matplotlib warning [error?] message

2024-02-19 Thread Leif Svalgaard via Python-list
now I get: File e:\getmodpot.py:40 fig,ax = initPlot() File E:\mystuff.py:272 in initPlot fig,ax = plt.subplots(figsize=(xs,ys)) File ~\anaconda3\Lib\site-packages\matplotlib\pyplot.py:1501 in subplots fig = figure(**fig_kw) File ~\anaconda3\Lib\site-packages\matplotlib\_api\d

Re: Matplotlib warning [error?] message

2024-02-19 Thread Zahraa Fadhil via Python-list
On Sunday, February 18, 2024 at 10:48:29 PM UTC+3, Leif Svalgaard wrote: > The latest[?] version of Matplotlib cannot show a figure. I get the > annoying error message: "Matplotlib is currently using agg, which is a > non-GUI backend, so cannot show the figure" > I'm

Matplotlib warning [error?] message

2024-02-18 Thread Leif Svalgaard via Python-list
The latest[?] version of Matplotlib cannot show a figure. I get the annoying error message: "Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure" I'm using Spyder python 3.11 on Windows 11. What to do? -- Leif Svalgaard l...@lei

Re: f-string error message

2023-08-30 Thread Random832 via Python-list
al. > However, to my mind it is not the format string that is invalid, but the > value supplied to it. > Would it be possible to have a different error message, something like > > ValueError: int expected in format string but decimal.Decimal found > > Or am I missing something?

f-string error message

2023-08-30 Thread Rob Cliffe via Python-list
. However the following error message confused me for a while when it happened in real code: import decimal x=42 f"{x:3d}" ' 42' x=decimal.Decimal('42') f"{x:3d}" Traceback (most recent call last):   File "", line 1, in ValueError: invalid form

Re: Hello I want help get rid of that message and help install Python properly and thank you

2023-03-22 Thread Igor Korot
Hi, On Wed, Mar 22, 2023 at 11:37 AM Mohammed nour Koujan wrote: > > > -- What message? Please don't post screenshots - copy and paste the errors from your machine... Thank you. > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list

Hello I want help get rid of that message and help install Python properly and thank you

2023-03-22 Thread Mohammed nour Koujan
-- https://mail.python.org/mailman/listinfo/python-list

Re: How to exit program with custom code and custom message?

2023-03-13 Thread Chris Angelico
On Tue, 14 Mar 2023 at 15:28, Thomas Passin wrote: > > On 3/13/2023 10:34 PM, scruel tao wrote: > > Interesting, `raise SystemExit` seems to have the same behavior as > > `sys.exit`: > > > > ```shell > > python -c "raise SystemExit(100)" > > echo $? > > <<< 100 > > > > python -c " import sys; sys

Re: How to exit program with custom code and custom message?

2023-03-13 Thread Thomas Passin
On 3/13/2023 10:34 PM, scruel tao wrote: Interesting, `raise SystemExit` seems to have the same behavior as `sys.exit`: ```shell python -c "raise SystemExit(100)" echo $? <<< 100 python -c " import sys; sys.exit(100)" echo $? <<< 100 OTOH, you don't want to get too tricky: (on Windows, obvio

Re: How to exit program with custom code and custom message?

2023-03-13 Thread Thomas Passin
On 3/13/2023 11:50 PM, MRAB wrote: On 2023-03-14 03:29, Thomas Passin wrote: On 3/13/2023 10:34 PM, scruel tao wrote: Lars: I totally understand your reasoning here, but in some way it follows the unix philosophy: Do only one thing, but do that good. I understand, python is not strongly typ

Re: How to exit program with custom code and custom message?

2023-03-13 Thread MRAB
On 2023-03-14 03:29, Thomas Passin wrote: On 3/13/2023 10:34 PM, scruel tao wrote: Lars: I totally understand your reasoning here, but in some way it follows the unix philosophy: Do only one thing, but do that good. I understand, python is not strongly typed, so `sys.exit` will be able to ac

Re: How to exit program with custom code and custom message?

2023-03-13 Thread Thomas Passin
On 3/13/2023 10:34 PM, scruel tao wrote: Lars: I totally understand your reasoning here, but in some way it follows the unix philosophy: Do only one thing, but do that good. I understand, python is not strongly typed, so `sys.exit` will be able to accept any types parameters rather than just

Re: How to exit program with custom code and custom message?

2023-03-13 Thread scruel tao
Lars: > I totally understand your reasoning here, but in some way it follows the unix > philosophy: Do only one thing, but do that good. I understand, python is not strongly typed, so `sys.exit` will be able to accept any types parameters rather than just integer. In order to handle such “other”

Re: 转发: How to exit program with custom code and custom message?

2023-03-13 Thread Cameron Simpson
On 13Mar2023 10:18, scruel tao wrote: Chris: but for anything more complicated, just print and then exit. It's worth noting, by the way, that sys.exit("error message") will print that to STDERR, not to STDOUT, which mean that the equivalent is: Yes, I know, but don’t you thi

Re: 转发: How to exit program with custom code and custom message?

2023-03-13 Thread Lars Liedtke
e brackets indicate that arg is optional here. Oh, I see, it seems that I mistunderstood the document. but for anything more complicated, just print and then exit. It's worth noting, by the way, that sys.exit("error message") will print that to STDERR, not to STDOUT, which me

转发: How to exit program with custom code and custom message?

2023-03-13 Thread scruel tao
Chris: > It doesn't actually take a list of arguments; the square brackets indicate that arg is optional here. Oh, I see, it seems that I mistunderstood the document. > but for anything more complicated, just print and then exit. > It's worth noting, by the way, that sys.

Re: How to exit program with custom code and custom message?

2023-03-13 Thread Chris Angelico
stderr and results in an exit code of 1. > > However, if I want to exit the program with status 0 (or any numbers else > except 1) and print necessary messages before exiting, I have to write: > ```python > print("message") > sys.exit() > ``` > So why `sys.exi

How to exit program with custom code and custom message?

2023-03-13 Thread scruel tao
rogram with status 0 (or any numbers else except 1) and print necessary messages before exiting, I have to write: ```python print("message") sys.exit() ``` So why `sys.exit` takes a list of arguments (`[arg]`) as its parameter? Rather than something like `sys.exit(code:int=0, msg:str=N

Re: xarry netcdf message

2022-08-23 Thread Dioumacor FAYE
x27;].data lon =r1mm['longitude'].data lat =r1mm['latitude'].data data_r1mm=r1mm['r1mm'].data Le mar. 23 août 2022 à 15:38, Jorge Conrado Conforte Conforte < jorgconfo...@gmail.com> a écrit : > Hi, > > I'm reading my netcdf data air.2m.mon.ltm.nc. > I

xarry netcdf message

2022-08-23 Thread Jorge Conrado Conforte Conforte
Hi, I'm reading my netcdf data air.2m.mon.ltm.nc. I used the netcdf4 and I didn't have message when i read my data. But if I use the xarray I had this message: /home/conrado/.conda/envs/meuambi/lib/python3.8/site-packages/xarray/backends/plugins.py:61: RuntimeWarning: Engine '

Re: Simple message passing system and thread safe message queue

2022-07-18 Thread Morten W. Petersen
, Jul 18, 2022 at 06:31:28PM +0200, Morten W. Petersen wrote: > >Hi. > > > >I wrote a couple of blog posts as I had to create a message passing > system, > >and these posts are here: > > > >http://blogologue.com/search?category=1658082823X26 > > > >Any

RE: Simple message passing system and thread safe message queue

2022-07-18 Thread Mike Dewhirst
t. Mine is that your subject line was interesting enough for me to open your email but my own security habits prevented me from learning more about your topic.CheersMike--(Unsigned mail from my phone) Original message From: "Morten W. Petersen" Date: 19/7/22 0

Re: Simple message passing system and thread safe message queue

2022-07-18 Thread Martin Di Paola
s and as a challenge for you, make the server single-thread using asyncio and friends. Thanks, Martin. On Mon, Jul 18, 2022 at 06:31:28PM +0200, Morten W. Petersen wrote: Hi. I wrote a couple of blog posts as I had to create a message passing system, and these posts are here: http://blogologue.

Simple message passing system and thread safe message queue

2022-07-18 Thread Morten W. Petersen
Hi. I wrote a couple of blog posts as I had to create a message passing system, and these posts are here: http://blogologue.com/search?category=1658082823X26 Any comments or suggestions? Regards, Morten -- I am https://leavingnorway.info Videos at https://www.youtube.com/user/TheBlogologue

message

2022-07-14 Thread Bart Kuijer via Python-list
In the last 10 years of my working life I worked as a freelancer, as a specialist in Microsoft Access, at Interpolis-Tilburg, Rabobank-Zeist, Abn-Amro-Amsterdam and the SVB in Amstelveen, among others. From 1999 onward, I developed an accounting program in Microsoft Access for myself, Boeket,

Re: Confusing error message: lambda walruses

2021-10-06 Thread Thomas Jollans
On 06/10/2021 23:53, Chris Angelico wrote: On Thu, Oct 7, 2021 at 8:51 AM Thomas Jollans wrote: On 03/10/2021 01:39, Chris Angelico wrote: Using assignment expressions in lambda functions sometimes works, but sometimes doesn't. Does this commit by a certain Chris Angelico help clear things up

Re: Confusing error message: lambda walruses

2021-10-06 Thread Chris Angelico
On Thu, Oct 7, 2021 at 8:51 AM Thomas Jollans wrote: > > On 03/10/2021 01:39, Chris Angelico wrote: > > Using assignment expressions in lambda functions sometimes works, but > > sometimes doesn't. > > Does this commit by a certain Chris Angelico help clear things up? > > https://github.com/python/

Re: Confusing error message: lambda walruses

2021-10-06 Thread Thomas Jollans
On 03/10/2021 01:39, Chris Angelico wrote: Using assignment expressions in lambda functions sometimes works, but sometimes doesn't. Does this commit by a certain Chris Angelico help clear things up? https://github.com/python/peps/commit/f906b988b20c9a8e7e13a2262f5381bd2b1399e2 -- https://mail.

Re: Confusing error message: lambda walruses

2021-10-03 Thread Peter J. Holzer
On 2021-10-03 10:39:38 +1100, Chris Angelico wrote: > # Oh, and it doesn't actually assign anything. > >>> def f(n): > ... return (lambda: (n := 1)), (lambda: n) > ... > >>> g, h = f(5) > >>> h() > 5 > >>> g() > 1 > >>> h() > 5 I thought about that one a bit more and I think that the lambda is

Re: Confusing error message: lambda walruses

2021-10-03 Thread Peter J. Holzer
On 2021-10-03 10:39:38 +1100, Chris Angelico wrote: > Using assignment expressions in lambda functions sometimes works, but > sometimes doesn't. > ... return lambda x: (x, x := 2, x) syntax ok > return lambda: n := 1 syntax error > ... return lambda: (n := 1) syntax ok > return

Confusing error message: lambda walruses

2021-10-02 Thread Chris Angelico
Using assignment expressions in lambda functions sometimes works, but sometimes doesn't. Python 3.11.0a0 (heads/main:dc878240dc, Oct 3 2021, 10:28:40) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. # Fine if it's a parameter to the lambda function >>>

Re: Where did the message go?

2021-06-16 Thread Greg Ewing
On 16/06/21 4:47 am, Chris Angelico wrote: On Wed, Jun 16, 2021 at 2:41 AM Grimble wrote: > was bouncing because haydn.. was not a registered subdomain with my ISP, whereas bach.. was registered. > > I like your naming convention :) Weirdly, the first association "haydn" trig

Re: Where did the message go?

2021-06-15 Thread dn via Python-list
On 16/06/2021 04.47, Chris Angelico wrote: > On Wed, Jun 16, 2021 at 2:41 AM Grimble wrote: >> Thanks for reminding me of the log files. I've worked out that the >> message on machine H (for haydn, which shows my preferred music genre) >> was bouncing because haydn.

Re: Where did the message go?

2021-06-15 Thread Chris Angelico
On Wed, Jun 16, 2021 at 2:41 AM Grimble wrote: > Thanks for reminding me of the log files. I've worked out that the > message on machine H (for haydn, which shows my preferred music genre) > was bouncing because haydn.. was not a registered subdomain with > my ISP, where

Re: Where did the message go?

2021-06-15 Thread Grimble
On 14/06/2021 20:58, dn wrote: On 15/06/2021 01.00, Grimble wrote: I have two machines running Mageia 8 and Python 2.8.9, They use the same Python script to maintain a list of changed packages from dnf update and dnf install. In addition the script sends a short email message to my main email

Re: Where did the message go?

2021-06-14 Thread dn via Python-list
On 15/06/2021 01.00, Grimble wrote: > I have two machines running Mageia 8 and Python 2.8.9, They use the same > Python script to maintain a list of changed packages from dnf update and > dnf install. In addition the script sends a short email message to my > main email address. Th

Where did the message go?

2021-06-14 Thread Grimble
I have two machines running Mageia 8 and Python 2.8.9, They use the same Python script to maintain a list of changed packages from dnf update and dnf install. In addition the script sends a short email message to my main email address. The problem is: the message from machine B arrives, the

Re: [OT] Annoying message duplication, was Re: Unsubscribe/can't login

2021-05-06 Thread Jim Byrnes
On 5/5/21 1:07 PM, Jan van den Broek wrote: On 2021-05-05, Jim Byrnes wrote: On 5/5/21 9:39 AM, Peter Otten wrote: On 05/05/2021 16:10, Ethan Furman wrote: I see your messages twice (occasionally with other posters as well). I have no idea how to fix it.?? :( OK, I'll try another option fr

Re: [OT] Annoying message duplication, was Re: Unsubscribe/can't login

2021-05-05 Thread Peter Otten
On 05/05/2021 20:08, Jan van den Broek wrote: On 2021-05-05, Peter Otten <__pete...@web.de> wrote: On 05/05/2021 16:10, Ethan Furman wrote: I see your messages twice (occasionally with other posters as well).?? I have no idea how to fix it.?? :( OK, I'll try another option from Thunderbird's

Re: [OT] Annoying message duplication, was Re: Unsubscribe/can't login

2021-05-05 Thread Jan van den Broek
On 2021-05-05, Peter Otten <__pete...@web.de> wrote: > On 05/05/2021 16:10, Ethan Furman wrote: > >> I see your messages twice (occasionally with other posters as well).?? I >> have no idea how to fix it.?? :( > > OK, I'll try another option from Thunderbird's context menu: Followup to > Newsgrou

Re: [OT] Annoying message duplication, was Re: Unsubscribe/can't login

2021-05-05 Thread Jan van den Broek
On 2021-05-05, Jim Byrnes wrote: > On 5/5/21 9:39 AM, Peter Otten wrote: >> On 05/05/2021 16:10, Ethan Furman wrote: >> >>> I see your messages twice (occasionally with other posters as well). >>> I have no idea how to fix it.?? :( >> >> OK, I'll try another option from Thunderbird's context m

Re: [OT] Annoying message duplication, was Re: Unsubscribe/can't login

2021-05-05 Thread Jim Byrnes
On 5/5/21 9:39 AM, Peter Otten wrote: On 05/05/2021 16:10, Ethan Furman wrote: I see your messages twice (occasionally with other posters as well). I have no idea how to fix it.  :( OK, I'll try another option from Thunderbird's context menu: Followup to Newsgroup. Does that appear once o

Re: [OT] Annoying message duplication, was Re: Unsubscribe/can't login

2021-05-05 Thread Ethan Furman
On 5/5/21 7:39 AM, Peter Otten wrote: > On 05/05/2021 16:10, Ethan Furman wrote: >> I see your messages twice (occasionally with other posters as well). I have no idea how to fix it. :( > > OK, I'll try another option from Thunderbird's context menu: Followup to Newsgroup. > > Does that appea

[OT] Annoying message duplication, was Re: Unsubscribe/can't login

2021-05-05 Thread Peter Otten
On 05/05/2021 16:10, Ethan Furman wrote: I see your messages twice (occasionally with other posters as well).  I have no idea how to fix it.  :( OK, I'll try another option from Thunderbird's context menu: Followup to Newsgroup. Does that appear once or twice? In theory it should go to the

Re: Getting Modify Setup message

2021-03-09 Thread Igor Korot
Hi, On Tue, Mar 9, 2021 at 5:05 PM Jaya Yogasundaram wrote: > > Hello > > I just installed Python 3.9.2 on my computer a week ago . But I am getting > the Modify Setup window pops up many times. How can I fix it. Let me know > please. Are you trying to re-run the setup? What happens if you start

Getting Modify Setup message

2021-03-09 Thread Jaya Yogasundaram
Hello I just installed Python 3.9.2 on my computer a week ago . But I am getting the Modify Setup window pops up many times. How can I fix it. Let me know please. thanks Jaya *Please note that I am working remotely until further notice.* Jaya Yogasundaram, P.Eng. IWMS Support & Development In

Re: Funny error message

2021-01-01 Thread Bob van der Poel
> Assuming Python is maintained only at the system-level (cf --user or > > venv) then it may be possible that installing some application that > runs > > 'on' Python added the local-library (as a "dependency"). Alternately, > > many beginners following installation instructions on a

Re: Funny error message

2021-01-01 Thread DL Neil via Python-list
On 1/2/21 9:39 AM, Bob van der Poel wrote: > > > On Fri, Jan 1, 2021 at 12:17 PM DL Neil via Python-list > mailto:python-list@python.org>> wrote: > > On 1/2/21 6:35 AM, Bob van der Poel wrote: > > Found it! > > Well done! > > > >>     I had the proper urllib3 installed. But, i

Re: Funny error message

2021-01-01 Thread Bob van der Poel
On Fri, Jan 1, 2021 at 12:17 PM DL Neil via Python-list < python-list@python.org> wrote: > On 1/2/21 6:35 AM, Bob van der Poel wrote: > > Found it! > > Well done! > > > >> I had the proper urllib3 installed. But, in my .local/lib/ a > previous > >> version was installed. Removing .local/li

Re: Funny error message

2021-01-01 Thread DL Neil via Python-list
On 1/2/21 6:35 AM, Bob van der Poel wrote: > Found it! Well done! >> I had the proper urllib3 installed. But, in my .local/lib/ a previous >> version was installed. Removing .local/lib/python3.8 has resolved the >> problem. >> >> Anyone hazard a guess as to why I had a .local tre

Re: Funny error message

2021-01-01 Thread Bob van der Poel
Found it! > > I had the proper urllib3 installed. But, in my .local/lib/ a previous > version was installed. Removing .local/lib/python3.8 has resolved the > problem. > > Anyone hazard a guess as to why I had a .local tree (nope, I did not create > it ... I don't think!). > > > That is where "pyth

Re: Funny error message

2021-01-01 Thread Barry Scott
> On 1 Jan 2021, at 16:50, Bob van der Poel wrote: > > On Thu, Dec 31, 2020 at 9:25 PM DL Neil via Python-list < > python-list@python.org > wrote: > >> On 1/1/21 11:46 AM, Bob van der Poel wrote: >>> When I run python from the command line and generate an error

Re: Funny error message

2021-01-01 Thread Bob van der Poel
On Thu, Dec 31, 2020 at 9:25 PM DL Neil via Python-list < python-list@python.org> wrote: > On 1/1/21 11:46 AM, Bob van der Poel wrote: > > When I run python from the command line and generate an error I get the > > following: > > > > Python 3.8.5 (default, Jul 28 2020, 12:59:40) > > [GCC 9.3.0] on

Re: Funny error message

2021-01-01 Thread Bob van der Poel
a one line script with only a bad command in it and running "python -v script.py >err_file" does not give the lengthy printout. The same error message is displayed on the terminal. I really have no idea ... and don't care that much, except it is annoying to have these same lines re

Re: Funny error message

2021-01-01 Thread Peter Otten
On 31/12/2020 23:46, Bob van der Poel wrote: When I run python from the command line and generate an error I get the following: Python 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. z /home/bob/.local/lib/pyth

Re: Funny error message

2020-12-31 Thread DL Neil via Python-list
On 1/1/21 11:46 AM, Bob van der Poel wrote: > When I run python from the command line and generate an error I get the > following: > > Python 3.8.5 (default, Jul 28 2020, 12:59:40) > [GCC 9.3.0] on linux > Type "help", "copyright", "credits" or "license" for more information. z > /home/bob/.l

Funny error message

2020-12-31 Thread Bob van der Poel
When I run python from the command line and generate an error I get the following: Python 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> z /home/bob/.local/lib/python3.8/site-packages/requests/__init__.py:89: R

Re: How to copy the entire outlook message content in python

2020-12-29 Thread Peter Pearson
decode > return codecs.charmap_decode(input,self.errors,decoding_table)[0] > UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 924: > character maps to I'm not completely sure that it's the f.read() call that produces the error, because you cut out the ea

How to copy the entire outlook message content in python

2020-12-29 Thread nikhil k
ok.CreateItem(0) mail.To = recipient mail.Subject = subject mail.HtmlBody = body mail.Display(True) ### Main msgFile = "C:\\RELM\\testMsg.msg" mailTo = "mym...@myserver.com" mailSubject = "Test message" mailBody =

Re: Debian testing and virtual environment error message

2020-12-27 Thread Christian Heimes
On 27/12/2020 04.05, songbird wrote: > songbird wrote: > ... >> The package mentioned is installed: >> >> >> = >> >> $ dpkg -l | grep python3-venv >> ii python3-venv 3.9.0-4 >> amd64pyvenv-3 binary for python3 (default python3 version)

Re: Debian testing and virtual environment error message

2020-12-27 Thread songbird
Chris Angelico wrote: > On Mon, Dec 28, 2020 at 2:56 AM songbird wrote: ...needed to pull a few more things from unstable... > Ah, yep, that makes sense. I was a tad concerned about the mismatch of > versions, but honestly, I don't think I've ever installed Python from > testing or unstable (unles

Re: Debian testing and virtual environment error message

2020-12-27 Thread Chris Angelico
On Mon, Dec 28, 2020 at 2:56 AM songbird wrote: > > Chris Angelico wrote: > > ok, i got it to work. i noticed that there was a 3.8 > version of distutils that was not upgraded to 3.9 so once > i specifically pulled that in from the unstable Debian > distribution then it upgraded and my creation

Re: Debian testing and virtual environment error message

2020-12-27 Thread songbird
Chris Angelico wrote: ok, i got it to work. i noticed that there was a 3.8 version of distutils that was not upgraded to 3.9 so once i specifically pulled that in from the unstable Debian distribution then it upgraded and my creation of a new virtual environment would work without errors. so

Re: Debian testing and virtual environment error message

2020-12-26 Thread songbird
songbird wrote: ... > The package mentioned is installed: > > >= > > $ dpkg -l | grep python3-venv > ii python3-venv 3.9.0-4amd64 >pyvenv-3 binary for python3 (default python3 version) > here is something i missed including in my fi

Re: Debian testing and virtual environment error message

2020-12-26 Thread songbird
Chris Angelico wrote: ... > $ which python /usr/bin/python for both user and root looking at /usr/bin it looks like: lrwxrwxrwx 1 root root 7 Nov 3 03:20 python -> python3 lrwxrwxrwx 1 root root 9 Dec 6 05:36 python3 -> python3.9 -rwxr-xr-x 1 root root 5479

Re: Debian testing and virtual environment error message

2020-12-26 Thread Chris Angelico
On Sun, Dec 27, 2020 at 11:31 AM songbird wrote: > > > Simlar to Rich's asking about how to deal with python3.9 > I'm not able to to get my virtual environment set up to work > now and I'm not sure how to go about fixing this. > > As it is testing I may have broken it somehow but I do not > kn

Debian testing and virtual environment error message

2020-12-26 Thread songbird
Simlar to Rich's asking about how to deal with python3.9 I'm not able to to get my virtual environment set up to work now and I'm not sure how to go about fixing this. As it is testing I may have broken it somehow but I do not know how to fix this. I asked on the Debian user mailing list

Re: How to run Jupyter notebook in command line and get full error message?

2020-11-29 Thread Skip Montanaro
> > My VPN keeps dropping and can not run Jupyter Notebook as it is. > You don't provide a lot of detail, but this seems similar to the kind of flaky networking we used to deal with in the Before Times. Simply connecting directly to a host over the Internet was often plagued by disconnects. For th

How to run Jupyter notebook in command line and get full error message?

2020-11-28 Thread Shaozhong SHI
How to run Jupyter notebook in command line and get full error messages? My VPN keeps dropping and can not run Jupyter Notebook as it is. I started to use nbconvert in command line. But, when it stops due to error, I can not see where the error occurs. In order to make life easier for debugging

How to record full error message for debugging with nbconvert?

2020-11-28 Thread Shaozhong SHI
Hi, When I use nbconvert to run Jupyter notebook, it is so difficult to see the full error message for debugging? How to save full error messages? Regards, David -- https://mail.python.org/mailman/listinfo/python-list

Re: Code of Conduct address "hold message"

2020-06-30 Thread Rhodri James
On 30/06/2020 15:25, Rhodri James wrote: Having just had occasion to use the code of conduct link (conduct...@python.org), I got back the message:   Your mail to 'conduct...@python.org' with the subject       Is being held until the list moderator can review it for approval

Code of Conduct address "hold message"

2020-06-30 Thread Rhodri James
Having just had occasion to use the code of conduct link (conduct...@python.org), I got back the message: Your mail to 'conduct...@python.org' with the subject Is being held until the list moderator can review it for approval. etc. I know this is the standard moderati

Re: "pip" error message

2020-04-21 Thread Mats Wichmann
On 4/21/20 5:38 AM, Frank Millman wrote: > On 2020-04-21 12:02 PM, Simone Bravin wrote: >> >> I found that I had downloaded Python from what I would call "automatic >> check version link" and that downloaded the 32-bit version, but my >> notebook have 64-bit, so I changed the version to the 64-bit

Re: "pip" error message

2020-04-21 Thread Frank Millman
On 2020-04-21 12:02 PM, Simone Bravin wrote: I found that I had downloaded Python from what I would call "automatic check version link" and that downloaded the 32-bit version, but my notebook have 64-bit, so I changed the version to the 64-bit one. I have had the same problem in the past.

Re: "pip" error message

2020-04-21 Thread Simone Bravin
but it > doesn't work. > > When I check for pip version using command line> pip --version I get > the following error message: > > Traceback (most recent call last): >   File > "c:\users\simon\appdata\local\programs\python\py

Re: "pip" error message

2020-04-20 Thread Souvik Dutta
tall few extra packages using pip but it > > doesn't work. > > > > When I check for pip version using command line> pip --version I get > > the following error message: > > > > Traceback (most recent call last): > > File > > "c:\u

Re: "pip" error message

2020-04-20 Thread Richard Guinn
20, 2020 at 12:42 PM Simone Bravin wrote: > Hello everyone, > > > I just started using Python to learn a bit of coding, so I'm pretty a > > newbie to this, I tried to install few extra packages using pip but it > > doesn't work. > > > > When I check

"pip" error message

2020-04-20 Thread Simone Bravin
Hello everyone, I just started using Python to learn a bit of coding, so I'm pretty a newbie to this, I tried to install few extra packages using pip but it doesn't work. When I check for pip version using command line> pip --version I get the following error message: Tr

Re: Why this message was rejected?

2020-03-02 Thread Marco Sulla via Python-list
Ok, I sent a message as I did before to the discussion "Re: Friday Finking: Poly more thick", with only "test" as body. On Mon, 2 Mar 2020 at 22:48, Marco Sulla wrote: > > On Mon, 2 Mar 2020 at 22:36, Ethan Furman wrote: > > Questions like this should go to

Re: Why this message was rejected?

2020-03-02 Thread Marco Sulla via Python-list
On Mon, 2 Mar 2020 at 22:36, Ethan Furman wrote: > Questions like this should go to python-list-owner at python dot org. If > this message hadn't been flagged we may not have noticed it. Sorry, I posted to python-list-owner before reading this message. > When the mailing

Re: Why this message was rejected?

2020-03-02 Thread Ethan Furman
On 03/02/2020 01:01 PM, Marco Sulla via Python-list wrote: One of my post on this list was rejected. The reason is: Blind carbon copies or other implicit destinations are not allowed. Try reposting your message by explicitly including the list address in the To: or Cc: fields. I rechecked

Why this message was rejected?

2020-03-02 Thread Marco Sulla via Python-list
One of my post on this list was rejected. The reason is: > Blind carbon copies or other implicit destinations are not allowed. >Try reposting your message by explicitly including the list address in > the To: or Cc: fields. I rechecked my mail and I added the user to the To: field

How to hide warning about drop table message to MariaDB

2020-01-19 Thread ^Bart
I ran this code: #!/usr/bin/python import MySQLdb # Open database connection db = MySQLdb.connect("localhost","root","MyPwd","MyDB") # prepare a cursor object using cursor() method cursor = db.cursor() # Drop table if it already exist using execute() method. cursor.execute("DROP TABLE IF EXIST

Re: How to hide warning about drop table message to MariaDB

2020-01-19 Thread DL Neil via Python-list
On 20/01/20 4:35 AM, Python wrote: ^Bart wrote: I ran this code: #!/usr/bin/python import MySQLdb # Open database connection db = MySQLdb.connect("localhost","root","MyPwd","MyDB") # prepare a cursor object using cursor() method cursor = db.cursor() # Drop table if it already exist using exe

Re: How to hide warning about drop table message to MariaDB

2020-01-19 Thread Python
^Bart wrote: I ran this code: #!/usr/bin/python import MySQLdb # Open database connection db = MySQLdb.connect("localhost","root","MyPwd","MyDB") # prepare a cursor object using cursor() method cursor = db.cursor() # Drop table if it already exist using execute() method. cursor.execute("DROP

Re: Does the argparse generate a wrong help message?

2020-01-01 Thread jfong
Random832於 2020年1月2日星期四 UTC+8上午5時04分36秒寫道: > On Fri, Dec 27, 2019, at 23:08, jf...@ms4.hinet.net wrote: > > > > optional arguments: > > > > -h, --help show this help message and exit > > > > --foo [FOO] foo help > > > > --goo GOO

Re: Does the argparse generate a wrong help message?

2020-01-01 Thread Random832
On Fri, Dec 27, 2019, at 23:08, jf...@ms4.hinet.net wrote: > > > optional arguments: > > > -h, --help show this help message and exit > > > --foo [FOO] foo help > > > --goo GOOgoo help > > > > > > D:\Works\Python>py test.py --fo

Re: Does the argparse generate a wrong help message?

2019-12-27 Thread Richard Damon
x27;, help='foo help') parser.add_argument('--goo', nargs=1, help='goo help') args = parser.parse_args() print(args.foo, args.goo) - But I get the following result: - D:\Works\Python>py test.py -h usage: test.py [-h] [--foo [FOO]] [--goo GOO] optional argum

Re: Does the argparse generate a wrong help message?

2019-12-27 Thread jfong
orks\Python>py test.py -h > > usage: test.py [-h] [--foo [FOO]] [--goo GOO] > > > > optional arguments: > > -h, --help show this help message and exit > > --foo [FOO] foo help > > --goo GOOgoo help > > > > D:\Works\Python>py test.py --fo

Re: Does the argparse generate a wrong help message?

2019-12-27 Thread Chris Angelico
elp='goo help') > args = parser.parse_args() > print(args.foo, args.goo) > - > > But I get the following result: > - > D:\Works\Python>py test.py -h > usage: test.py [-h] [--foo [FOO]] [--goo GOO] > > optional arguments: > -h, --help

Does the argparse generate a wrong help message?

2019-12-27 Thread jfong
rgs.goo) - But I get the following result: - D:\Works\Python>py test.py -h usage: test.py [-h] [--foo [FOO]] [--goo GOO] optional arguments: -h, --help show this help message and exit --foo [FOO] foo help --goo GOOgoo help D:\Works\Python>py test.py --foo 1 --goo 2

How to publish a message of the qspinbox value when the qspinbox sets the slider with corresponding value.

2019-09-27 Thread Spencer Du
Hi When the values of the spinboxes is set a message should be published from the GUI containing the value from the spinbox which then sets the qlabel with the value. After this if I close and reload the gui the widgets should be set with the values set from the previous time. When the

How to publish a message of the qspinbox value when the qspinbox sets the slider with corresponding value.

2019-09-27 Thread Spencer Du
Hi When the values of the spinboxes is set a message should be published from the GUI containing the value from the spinbox which then sets the qlabel with the value. After this if I close and reload the gui the widgets should be set with the values set from the previous time. When the

How to publish a message of the qspinbox value when the qspinbox sets the slider with corresponding value.

2019-09-27 Thread Spencer Du
Hi When the values of the spinboxes is set a message should be published from the GUI containing the value from the spinbox which then sets the qlabel with the value. After this if I close and reload the gui the widgets should be set with the values set from the previous time. When the

  1   2   3   4   5   6   7   8   9   10   >