Comments (9)
@m-mora please review and close :
vrodri3@vrodri3-workstation ~/clearlinux $ sudo swupd update
Password:
Update started.
Version on server (25950) is not newer than system version (25950)
Update complete. System already up-to-date at version 25950
vrodri3@vrodri3-workstation ~/clearlinux $ python
Python 3.7.1 (default, Oct 29 2018, 16:37:42)
[GCC 8.2.1 20180502] on linux
Type "help", "copyright", "credits" or "license" for more information.
import tkinter
from clr-bundles.
A valid bug, reproduced by:
$ python
Python 3.7.0 (default, Jul 11 2018, 00:00:07)
[GCC 8.1.1 20180514] on linux
Type "help", "copyright", "credits" or "license" for more information.
import tkinter
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.7/tkinter/init.py", line 36, in
import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'
According to https://wiki.python.org/moin/TkInter
If it fails with "No module named _tkinter", Python configuration needs to be modified to include this module
Fix WIP
from clr-bundles.
@m-mora it works in python2
$ python2
Python 2.7.15 (default, Oct 24 2018, 20:05:15)
[GCC 8.2.1 20180502] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import tkinter
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named tkinter
import Tkinter
Tkinter._test()
fix for python3 fix is wip
from clr-bundles.
python 3 fixed , patch that fix :
diff --git a/python3.spec b/python3.spec
index e462443..a184a28 100644
--- a/python3.spec
+++ b/python3.spec
@@ -34,6 +34,9 @@ BuildRequires: expat-dev
BuildRequires: libffi-dev
BuildRequires: procps-ng-bin
BuildRequires: netbase
+BuildRequires: tk-dev
+BuildRequires: tcl-dev
+BuildRequires: libX11-dev
Requires: python3-core
Requires: python3-lib
Requires: usrbinpython
from clr-bundles.
I tested and it works now, thank you @VictorRodriguez
from clr-bundles.
when try to use graphic packages (base on tkinter ) in python it through an error
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.7/tkinter/__init__.py", line 36, in <module> import _tkinter # If this fails your Python may not be configured for Tk ModuleNotFoundError: No module named '_tkinter'
what bundle needs to be installed in order to make this work?
当尝试在python中使用图形包(基于tkinter)时通过错误
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.7/tkinter/__init__.py", line 36, in <module> import _tkinter # If this fails your Python may not be configured for Tk ModuleNotFoundError: No module named '_tkinter'
需要安装什么捆绑才能使这项工作?
Excuse me, how do you solve this problem??
from clr-bundles.
I have been puzzled by this question for a long time
from clr-bundles.
@elegentFrog it works if you install python-extras
from clr-bundles.
from clr-bundles.
Related Issues (20)
- Snap support? HOT 1
- Broken bundle HOT 1
- Linux-native virtio_net segfault HOT 1
- Epson printer not detected
- request: ODBC and SQL Dremio
- Why does installing firewalld install mesa? HOT 7
- request: Stremio HOT 1
- Make searches for "libfuse" return the suggestion of devpkg-compat-fuse-soname2, or add it to the fuse bundle HOT 1
- How to update pkg in clearlinux docker image HOT 2
- pkg-request: wlroots HOT 9
- Boxes: Virtualization extensions are unavailable ...
- Bundle for liburing? HOT 3
- add libvips HOT 1
- Solaar not working
- [Bundle request] Input Remapper
- Support for MariaDB version 11
- qt-creator bundle does'nt work (empty) HOT 2
- DevPackage for the BoringSSL library
- Fwupd (1.9.10) failes to refresh and get metadata with a segmantation fault (Clear Linux 40480)
- xz-utils compromised >= 5.6.0 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clr-bundles.