Install Tkinter for Embedded Python
-
Download
pip.pyz
or install pip:- Option 1: Download
pip.pyz
from https://bootstrap.pypa.io/pip/pip.pyz - Option 2: Install pip using get-pip.py
- Download from: https://bootstrap.pypa.io/get-pip.py
- Run with your embedded Python:
python.exe get-pip.py --target your_embed_folder
- Option 1: Download
-
Install Setuptools first.
The following examples use the pip.pyz method for installation.
Navigate to your embedded Python folder and run:
.\python pip.pyz install setuptools --target .
.\python pip.pyz install tkinter-embed --target .
python -m build --sdist
pip install -v --target embed .\dist\tkinter_embed-1.0.0.tar.gz
python -m twine upload dist/*