GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-kasa-tkinter/docs/windows.md at main · bitoffdev/python-kasa-tkinter

Expand file tree

/

windows.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
28 lines (15 loc) · 869 Bytes
/

windows.md

Copy path

File metadata and controls

28 lines (15 loc) · 869 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Windows

Build

First, install chocolatey.

In powershell, run choco install python --version 3.7.2. The version of python is important. This project requires Python 3.6+ for typing and asyncio. Furthermore, pyinstaller only supports up to Python 3.7 as of January, 2021.

Install poetry

In powershell, run C:\Python37\python.exe -m pip install --user poetry.

Install Python packages

In powershell, run C:\Python37\python.exe -m poetry install.

Build a single executable with PyInstaller

In powershell, run C:\Python37\python.exe -m poetry run pyinstaller kasatk.spec.

In powershell, your freshly built executable with .\dist\kasatk.exe.

Troubleshooting

  • PyInstaller hangs on "Building PKG (CArchive) kasatk.pkg"
    • This should only take ~5 seconds. It it seems to hang, try deleting the build and dist directories.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.