Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem installing tkinter on RHEL #16

Open
n1t1nv3rma opened this issue Nov 20, 2018 · 4 comments
Open

Problem installing tkinter on RHEL #16

n1t1nv3rma opened this issue Nov 20, 2018 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@n1t1nv3rma
Copy link

yum clean all

uname -a

Linux myvm 3.10.0-862.11.6.el7.x86_64 #1 SMP Fri Aug 10 16:55:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

python -V

Python 2.7.5

yum install tkinter

Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Resolving Dependencies
--> Running transaction check
---> Package tkinter.x86_64 0:2.7.5-68.el7 will be installed
--> Processing Dependency: python = 2.7.5-68.el7 for package: tkinter-2.7.5-68.el7.x86_64
--> Processing Dependency: libtk8.5.so()(64bit) for package: tkinter-2.7.5-68.el7.x86_64
--> Processing Dependency: libTix.so()(64bit) for package: tkinter-2.7.5-68.el7.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: tkinter-2.7.5-68.el7.x86_64
--> Running transaction check
---> Package libX11.x86_64 0:1.6.5-1.el7 will be installed
--> Processing Dependency: libX11-common >= 1.6.5-1.el7 for package: libX11-1.6.5-1.el7.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.5-1.el7.x86_64
---> Package tix.x86_64 1:8.4.3-12.el7 will be installed
---> Package tk.x86_64 1:8.5.13-6.el7 will be installed
--> Processing Dependency: libXft.so.2()(64bit) for package: 1:tk-8.5.13-6.el7.x86_64
---> Package tkinter.x86_64 0:2.7.5-68.el7 will be installed
--> Processing Dependency: python = 2.7.5-68.el7 for package: tkinter-2.7.5-68.el7.x86_64
--> Running transaction check
---> Package libX11-common.noarch 0:1.6.5-1.el7 will be installed
---> Package libXft.x86_64 0:2.3.2-2.el7 will be installed
--> Processing Dependency: libXrender.so.1()(64bit) for package: libXft-2.3.2-2.el7.x86_64
---> Package libxcb.x86_64 0:1.12-1.el7 will be installed
--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.12-1.el7.x86_64
---> Package tkinter.x86_64 0:2.7.5-68.el7 will be installed
--> Processing Dependency: python = 2.7.5-68.el7 for package: tkinter-2.7.5-68.el7.x86_64
--> Running transaction check
---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
---> Package libXrender.x86_64 0:0.9.10-1.el7 will be installed
---> Package tkinter.x86_64 0:2.7.5-68.el7 will be installed
--> Processing Dependency: python = 2.7.5-68.el7 for package: tkinter-2.7.5-68.el7.x86_64
--> Finished Dependency Resolution
Error: Package: tkinter-2.7.5-68.el7.x86_64 (prod-rhel-x86_64-server-optional-7)
Requires: python = 2.7.5-68.el7
Installed: python-2.7.5-69.el7_5.x86_64 (@prod-rhel-x86_64-server-7)

python = 2.7.5-69.el7_5
Available: python-2.7.5-16.el7.x86_64 (prod-rhel-x86_64-server-7)
python = 2.7.5-16.el7
Available: python-2.7.5-18.el7_1.1.x86_64 (prod-rhel-x86_64-server-7)
python = 2.7.5-18.el7_1.1
Available: python-2.7.5-34.el7.x86_64 (prod-rhel-x86_64-server-7)
python = 2.7.5-34.el7
Available: python-2.7.5-38.el7_2.x86_64 (prod-rhel-x86_64-server-7)
python = 2.7.5-38.el7_2
Available: python-2.7.5-39.el7_2.x86_64 (prod-rhel-x86_64-server-7)
python = 2.7.5-39.el7_2
Available: python-2.7.5-48.el7.x86_64 (prod-rhel-x86_64-server-7)
python = 2.7.5-48.el7
Available: python-2.7.5-58.el7.x86_64 (prod-rhel-x86_64-server-7)
python = 2.7.5-58.el7
Available: python-2.7.5-68.el7.x86_64 (prod-rhel-x86_64-server-7)
python = 2.7.5-68.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Why can't we run without aws_inventory.py UI??? :(

@n1t1nv3rma n1t1nv3rma changed the title Problen installing tkinter on RHEL Problem installing tkinter on RHEL Nov 20, 2018
@bitsandsalsa
Copy link
Collaborator

See #14. There is a fork addressing your issue, but the pull request hasn't come in yet.

@bitsandsalsa bitsandsalsa added the duplicate This issue or pull request already exists label Nov 21, 2018
@ncc-erik-steringer
Copy link
Collaborator

Hi there. I know it's been a while, but I've just popped in and created the develop branch. It's shifted to Python 3, which I think packs in TKinter by default. Please feel free to pull that down and give it a shot. If it doesn't work, I might just rip out TKinter and just rely on the new CMD display I added.

@nirupbbnk
Copy link

In develop branch . It still shows ModuleNotFoundError: No module named 'tkinter' ,
Even though I install manually , then also it shows error @ncc-erik-steringer .
I am using python3.
Can we run it without TKinter. As I dont have UI in Ubuntu virtual machine .

@ncc-erik-steringer
Copy link
Collaborator

Good to know, @nirupbbnk . Just as a quickfix for your usecase, you'll probably need to install TKinter on your machine (even though you're not using the GUI) and run as normal. Additionally, the produced file is meant to be opened via a web browser, so please be aware of that potential limitation.

In the long term, I'm probably gonna start out by making aws-inventory work primarily from the command line and remove the TKinter requirement. Then, down the line, I might be able to add an extra with the name [gui] as described in https://www.python.org/dev/peps/pep-0508/#extras .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants