Does another Slacker know what slack package contains tcl/tk? Python3.7 + comes with tkinter. But it won't work without tk.
This http://tcl.sourceforge.net/ https://docs.python.org/3/library/tkinter.html https://www.geeksforgeeks.org/introduction-to-tkinter/ https://www.tutorialspoint.com/tcl-tk/index.htm https://tkdocs.com/tutorial/install.html |
Im going to remove everything and start again in this order
1. Install Python3 2. Install Thonny Paying particular attention to dependencies. |
Quote:
|
Code:
bash-4.3# python3 But it does not launch in the GUI, I don't know if that's a problem or not at this stage? |
Code:
bash-4.3# python3 |
Quote:
Code:
$ (cd /var/adm/packages && ls -1 tcl* tk*) |
I do not believe pip is installed
[code] bash-4.3# pip help Traceback (most recent call last): File "/usr/bin/pip", line 7, in <module> from pip._internal.cli.main import main File "/usr/lib64/python3.7/site-packages/pip/_internal/__init__.py", line 40, in <module> from pip._internal.cli.autocompletion import autocomplete File "/usr/lib64/python3.7/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module> from pip._internal.cli.main_parser import create_main_parser File "/usr/lib64/python3.7/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module> from pip._internal.cli import cmdoptions File "/usr/lib64/python3.7/site-packages/pip/_internal/cli/cmdoptions.py", line 17, in <module> from pip._internal.locations import USER_CACHE_DIR, src_prefix File "/usr/lib64/python3.7/site-packages/pip/_internal/locations/__init__.py", line 14, in <module> from . import _distutils, _sysconfig File "/usr/lib64/python3.7/site-packages/pip/_internal/locations/_sysconfig.py", line 8, in <module> from pip._internal.exceptions import InvalidSchemeCombination, UserInstallationInvalid ImportError: cannot import name 'InvalidSchemeCombination' from 'pip._internal.exceptions' (/usr/lib64/python3.7/site-packages/pip/_internal/exceptions.py) bash-4.3# [/ode] I understood pip was installed with python? |
pip now installed
|
OK there is some progress
Code:
bash-4.3# pip install tk |
[code]
You should consider upgrading via the 'pip install --upgrade pip' command. bash-4.3# pip install tkinter DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. ERROR: Could not find a version that satisfies the requirement tkinter (from versions: none) ERROR: No matching distribution found for tkinter bash-4.3# [/quote] How do I tell pip to use python3? |
Here is the problem I think
Do I uninstall python2. I didn't do that earlier in case I messed up with a dependency for an existing program Code:
bash-4.3# pip -V |
Not sure what this is telling me?
Code:
bash-4.3# sbofind pip |
Stack overflow at
https://stackoverflow.com/questions/...d-of-python2-7 suggested: Code:
|
These from the same source did not work.
python3 -m pip install tk or pip3 install --upgrade --force pip |
That's it. I'm defeated
I could uninstall Python 2 but as I mentioned earlier I'm nervous about messing something else up that may be depending on it. |
All times are GMT -5. The time now is 03:46 PM. |