Only to those familiarized with python packages management and install-- Comfy Desktop version, Terminal pygame install #6
CrateTools
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
You can skip the installer provided in the releases for the Desktop version of ComfyUI and go to the comfy terminal on the left side tool bar and run this single command to handle all scenarios of installation on pip and pygame:
try { python -m pip --version } catch { python -m ensurepip --default-pip }; try { python -c "import pygame; print('PyGame found: ' + pygame.version)" } catch { python -m pip install pygame }
Try to check if pip is installed → if success, continue
If pip check fails → install pip using ensurepip
Try to import pygame → if success, print version
If import fails → install pygame using pip
All reactions