AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Xtrafinder was not installed properly9/12/2023 ActiveState Python 2.7 includes Tcl/Tk 8.5.9, as documented here. There is a note at the bottom of this download page regarding Tcl/Tk on MacOS that one could interpret to mean there is room for trouble on the PC as well. I'm guessing my problem was caused by installing ActiveState python, then official python (both 2.7, 64-bit), and/or additional packages I installed later. I have 8.5.9 installed, but init.tcl was requiring 8.5.2. I had the reverse problem I will tell you about it in hopes that it gives you some insight into what it might mean. Regarding what it means, without more information, I can only make conjectures right now. Of course, that also probably means this answer comes too late to help with your immediate need. Seeing that this is for CS 101, your lab administrators might not allow you that permission (whether by policy or technology). This may be the easiest option if you have permission to install. the latest ActiveState community version.For example, see /5/compiling-python-2-7-modules-on-windows-32-and-64-using-msvc-2008-express/ or /questions/4218613/building-a-python-module-on-windows-using-ms-compiler. This will require having an acceptable compiler. source using the latest version from sourceforge.If editing the file does not work for you, you can download and install the latest Tcl from: I also had to edit my tcl\tk8.5\tk.tcl file in the same way, for Tk instead of Tcl. Regarding what you can do, you can try editing your init.tcl file to read something like package require Tcl 8.5.0-8.6, or if that doesn't work you can try package require -exact Tcl 8.5.2. PS: I am using Eclipse (PyDev) for coding. This probably means that Tcl wasn't installed properly. _tkinter.TclError: Can't find a usable init.tcl in the following directories: Self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) My interpreter gave me this strange information: Traceback (most recent call last):įile "F:\CS 101\Python\projects\packer.py", line 8, in įile "F:\CS 101\Python\lib\site-packages\graphics.py", line 168, in įile "F:\CS 101\Python\lib\tkinter\_init_.py", line 1674, in _init_ But when I tried to run the following code: from graphics import *
0 Comments
Read More
Leave a Reply. |