AcademySoftwareFoundation / AcademySoftwareFoundation/xstudio
unable to import tkinter in windows machine
- Dominant language
- C++
- Stars
- 769
- Forks
- 129
- Avg merge
- 9d 1m
- Merged PRs (30d)
- 10
Description
im unable to import tkinter library in windows
Xstudios version: 3.10
```
[2024-08-17 15:06:34.751] [xstudio] [info] XStudio logging started.
[2024-08-17 15:06:34.927] [xstudio] [info] API enabled on 127.0.0.1:45500, session name default0
[OpenColorIO Info]: Color management disabled. (Specify the $OCIO environment variable to enable.)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QApplication(0x6a79ad438), parent's thread is QThread(0x1bcdf451a30), current thread is QThread(0x1bcdf785690)
qrc:/widgets/XsLoopWidget.qml:12: TypeError: Value is undefined and could not be converted to an object
qrc:/widgets/XsLoopWidget.qml:12: TypeError: Cannot read property 'icon' of undefined
[2024-08-17 15:06:35.689] [info] XStudio UI launched.
xStudio - console
Use XSTUDIO object for api access.
>>> Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Dev\Desktop\xstudio_install\python\tkinter\__init__.py", line 37, in
import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'
```
Contributor guide
Research direction
Start with the bundled Python path shown in the traceback, python/tkinter/__init__.py, and reproduce the import from the xStudio console on Windows. Check whether the bundled environment provides the required _tkinter module; done means importing tkinter succeeds without the reported ModuleNotFoundError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100