Skip to content

problem to install the Install the required Python packages: #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Tief1975 opened this issue Jan 14, 2025 · 2 comments
Open

problem to install the Install the required Python packages: #39

Tief1975 opened this issue Jan 14, 2025 · 2 comments

Comments

@Tief1975
Copy link

Hi, i am trying to install Omnigen on the comfy desktop version.

After installing the node, I follow the instructions "Open the terminal on the ComfyUI/custom_nodes/ComfyUI-OmniGen folder ......\python_embeded\python.exe -m pip install -r requirements.txt"
but it doesn't recognize the command

any idea why?
cheers in advance

@Kabeeraa27
Copy link

`The issue seems to be related to the path and Python environment not being properly recognized or set up. Here’s how you can troubleshoot and resolve it:

1. Verify the Python Path

  • Ensure you are pointing to the correct Python executable within the python_embedded folder of ComfyUI.
  • The full path should look something like this (adjust based on your setup):
    path_to_ComfyUI\python_embedded\python.exe
    

2. Run the Command in the Correct Folder

  • Navigate to the ComfyUI/custom_nodes/ComfyUI-OmniGen folder using the terminal:
    cd path_to_ComfyUI/custom_nodes/ComfyUI-OmniGen
  • Then, run the command:
    path_to_ComfyUI\python_embedded\python.exe -m pip install -r requirements.txt

3. Check Python Installation

  • Ensure Python is installed and recognized. If you’re using python_embedded, it should come with ComfyUI. Verify by running:
    path_to_ComfyUI\python_embedded\python.exe --version

4. Update the Embedded Python Path

  • If the embedded Python environment is not configured correctly, try activating it first:
    path_to_ComfyUI\python_embedded\Scripts\activate
  • Then, install the requirements:
    python -m pip install -r requirements.txt

5. Check Permissions

  • Ensure the terminal has sufficient permissions to execute the commands. On Windows, you may need to run the terminal as an administrator.

6. Alternative: Use Your Own Python Installation

  • If the embedded Python isn’t working, you can use your system's Python installation:
    • Ensure Python 3.x is installed.
    • Navigate to the ComfyUI-OmniGen folder and run:
      python -m pip install -r requirements.txt

Hopefully this works!

@Tief1975
Copy link
Author

Okay, that works. I saw that the Python version inside " C: Users/PC/Documents/ComfyUI/.venv/Scripts" was 3.12.8, and I had the newest 3.13 installed, so I reinstalled the same version, and it worked out. Thanks a lot, man, much appreciate it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants