>>> import _tkinter> File "<stdin>", line 1, in <module>
Traceback (most recent call last):
import _tkinter
darkstone@o2online.de writes:
import _tkinter
I don't know why you get this error message. Here, I do not
get an error message from that line. However, the normal way
to use tkinter, as far as I know, is without the underscore!
I think it might be best if you make sure that a recent
Visual C++ Redistributable Runtime from Microsoft®
is installed before you install Python.
If you have no such Runtime, I have no idea how to proceed!
Maybe uninstall Python, install the Runtime, and then install
Python again?
If you have chosen any unusual settings during the installation
of Python, it might help to try an installation with the suggested
settings.
I am trying to learn tkinter myself and I am very surprised
how well it offers exactly what I am looking for! I hope they
never will remove tkinter from the standard distribution!
Dear list,
I want learn python for 4 weeks and have problems, installing Tkinter. If I installed 3.11.0 for my windows 8.1 from python.org and type
>>> import _tkinter
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: DLL load failed while importing _tkinter: Das angegebene
> Modul wurde nicht gefunden.
> So I it is a tkinter Problem and I tried this:
> >>> import _tkinter
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: DLL load failed while importing _tkinter: Das angegebene
> Modul wurde nicht gefunden.
How can I fix this and make it work?
ImportError: DLL load failed while importing _tkinter: Das angegebene
Modul wurde nicht gefunden.
On 11/21/2022 1:24 PM, Stefan Ram wrote:
darkstone@o2online.de writes:
import _tkinter
I don't know why you get this error message. Here, I do not
get an error message from that line. However, the normal way
to use tkinter, as far as I know, is without the underscore!
You can import both tkinter and _tkinter, though I'm not sure why you
would do the latter for any normal programming.
On 22 Nov 2022, at 16:09, ram@zedat.fu-berlin.de wrote:
darkstone@o2online.de writes:
ImportError: DLL load failed while importing _tkinter: Das angegebene
Modul wurde nicht gefunden.
If you have not already done so, make sure that you install
Python from python.org.
Then, after the installation, you also should make sure that
you actually use this installed version.
import sys
sys.version_info
import tkinter
It is possible that you have installed a different version
of Python before and accidentally have opened that version,
which may not include tkinter.
--
https://mail.python.org/mailman/listinfo/python-list
I want learn python for 4 weeks and have problems, installing Tkinter. If I=
installed 3.11.0 for my windows 8.1 from python.org and type
ImportError: DLL load failed while importing _tkinter: Das angegebene
Modul wurde nicht gefunden.
On 23 Nov 2022, at 06:31, Stefan Ram <ram@zedat.fu-berlin.de> wrote:
darkstone@o2online.de writes:
I want learn python for 4 weeks and have problems, installing Tkinter. If I= >> installed 3.11.0 for my windows 8.1 from python.org and type
Ok, so you already installed from python.org. I wonder a
little about the wording "installing Tkinter". Here,
I installed /Python/ from python.org, and this /included/ tkinter.
If you have really attempted a separate installation of tkinter,
it may help to uninstall and instead install Python /including/
tkinter.
ImportError: DLL load failed while importing _tkinter: Das angegebene
Modul wurde nicht gefunden.
Another possibility of analysis is to watch the Python
process using "Process Monitor" (formerly from Sysinternals)
under Microsoft® Windows (not to be confused with "Process
Explorer"). This program requires some familiarization,
but then it can show you in which directories a process is
searching for which DLLs. This might help you to find the
name of the DLL missing and in which directory it should be.
--
https://mail.python.org/mailman/listinfo/python-list
I want learn python for 4 weeks and have problems, installing Tkinter. If
I installed 3.11.0 for my windows 8.1 from python.org and type
>>> import _tkinter
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: DLL load failed while importing _tkinter: Das angegebene
> Modul wurde nicht gefunden.
> So I it is a tkinter Problem and I tried this:
> File "<stdin>", line 1, in <module>Traceback (most recent call last):import _tkinter
> ImportError: DLL load failed while importing _tkinter: Das angegebene
> Modul wurde nicht gefunden.
How can I fix this and make it work?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 58:50:21 |
Calls: | 6,712 |
Files: | 12,243 |
Messages: | 5,355,639 |