Last active
October 22, 2025 08:42
-
-
Save maxfil333/53a247ad069efdbb6a077f071f6a4049 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. (CMD) -> OK X: \\10.10.0.3\docs Microsoft Windows Network | |
| net use | |
| 2. (terminal) | |
| pyinstaller --add-data "C:\Program Files\Tesseract-OCR;Tesseract-OCR" --onefile main.py | |
| 3) (terminal) -> main.spec | |
| pyi-makespec main.py | |
| 4) Проверить не занят ли порт (powershell) | |
| netstat -ano | findstr :8001 | |
| > TCP 0.0.0.0:8001 0.0.0.0:0 LISTENING 17424 | |
| Get-Process -Id 17424 | |
| > Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName | |
| ------- ------ ----- ----- ------ -- -- ----------- | |
| 303 24 61480 70884 29,39 17424 1 python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment