Problem using cx_Freeze
Dennis Lee Bieber
wlfraed at ix.netcom.com
Mon Aug 15 22:18:54 EDT 2022
On Mon, 15 Aug 2022 18:00:48 -0600, David at Booomer <david at boomer.org>
declaimed the following:
>However I now get an error
>
>init() takes from 2 to 12 positional arguments but 14 were given
>
>I found a couple instances of init in two .py files that were part of the whole.
>
>One .py file
>def __init__(self):
>
Please cut&paste the TEXT of the console where the errors are displayed
-- don't paraphrase!
init() is NOT the same as __init__()
WHAT "One .py file"? This is a meaningless bit of information.
The most likely __init__() involved is the one where
cx_Freeze.Executable is instantiated.
https://cx-freeze.readthedocs.io/en/latest/setup_script.html#cx-freeze-executable
shows 11 parameters (and "self" would make the 12th).
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed at ix.netcom.com http://wlfraed.microdiversity.freeddns.org/
More information about the Python-list
mailing list