-
Notifications
You must be signed in to change notification settings - Fork 129
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
Comments
See #14. There is a fork addressing your issue, but the pull request hasn't come in yet. |
Hi there. I know it's been a while, but I've just popped in and created the |
In develop branch . It still shows ModuleNotFoundError: No module named 'tkinter' , |
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 . |
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??? :(
The text was updated successfully, but these errors were encountered: