question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tk-inter plugin error

See original GitHub issue

When I want to compile a program with --plugin-enable=tk-inter it gives an error. Traceback (most recent call last): File "C:\Users\Ben\AppData\Roaming\Python\Python310\site-packages\nuitka\__main__.py", line 137, in <module> main() File "C:\Users\Ben\AppData\Roaming\Python\Python310\site-packages\nuitka\__main__.py", line 123, in main MainControl.main() File "C:\Users\Ben\AppData\Roaming\Python\Python310\site-packages\nuitka\MainControl.py", line 969, in main copyDataFiles(dist_dir=dist_dir) File "C:\Users\Ben\AppData\Roaming\Python\Python310\site-packages\nuitka\freezer\Standalone.py", line 1582, in copyDataFiles for plugin, included_datafile in Plugins.considerDataFiles(module): File "C:\Users\Ben\AppData\Roaming\Python\Python310\site-packages\nuitka\plugins\Plugins.py", line 547, in considerDataFiles for value in plugin.considerDataFiles(module): File "C:\Users\Ben\AppData\Roaming\Python\Python310\site-packages\nuitka\plugins\standard\TkinterPlugin.py", line 201, in considerDataFiles yield self.makeIncludedDataDirectory( AttributeError: 'NuitkaPluginTkinter' object has no attribute 'makeIncludedDataDirectory'

I use the newest nuitka version: 0.7.4

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kayhayencommented, Mar 14, 2022

Ouch, regression in a hotfix, very bad. @madaraXor has the correct fix for it.

0reactions
kayhayencommented, Mar 14, 2022

It’s out on the main branch, should appear on PyPI soon, let me know if the problem persists, I was too lazy to test on Windows now, feeling under the weather.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix – no module named Tkinter error - Hello Code
In conclusion, if the error no module named tkinter raises, it probably means you are using python 2. Firstly, you can get around...
Read more >
ImportError: No module named 'Tkinter' - Stack Overflow
Why is importing _tkinter needed? What is the problem this addresses? How is this problem solved? Programming should be deterministic and not randomly...
Read more >
Pcbnew (python plugin) Mac Tkinter Error - KiCad.info Forums
Hello. I need to run a tkinter GUI with python plugin in Pcbnew. This plugin is running without error on Windows and Ubuntu....
Read more >
Import Tkinter throwns an error when running from SPSS - IBM
Any idea what is wrong here please? Thank you,. Petr. P.S. Running SPSS v18 + Python Integration plugin - both 64bit on Win7....
Read more >
tkinter.tix — Extension widgets for Tk — Python 3.11.1 ...
Deprecated since version 3.6: This Tk extension is unmaintained and should not be used in new code. Use tkinter.ttk instead.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found