Skip to content
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

Having problem with set-default and --workspace commands #205

Open
scaruslooner opened this issue Nov 10, 2024 · 1 comment
Open

Having problem with set-default and --workspace commands #205

scaruslooner opened this issue Nov 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@scaruslooner
Copy link

Describe the bug
A clear and concise description of what the bug is.
image

(env) Z:\AI\ComfyUI>comfy set-default "Z:\AI\ComfyUI"
warn: The recent workspace Z:\AI\ComfyUI_windows_portable\ComfyUI is not a valid ComfyUI path.

Specified path is not a ComfyUI path: Z:\AI\ComfyUI.


(env) Z:\AI\ComfyUI>comfy set-default "Z:\AI\ComfyUI\main.py"
warn: The recent workspace Z:\AI\ComfyUI_windows_portable\ComfyUI is not a valid ComfyUI path.

Specified path is not a ComfyUI path: Z:\AI\ComfyUI\main.py.


(env) Z:\AI\ComfyUI>comfy set-default ComfyUI
warn: The recent workspace Z:\AI\ComfyUI_windows_portable\ComfyUI is not a valid ComfyUI path.

Path not found: Z:\AI\ComfyUI\ComfyUI.

(env) Z:\AI\ComfyUI>cd AI
The system cannot find the path specified.

(env) Z:\AI\ComfyUI>cd Z:\AI

(env) Z:\AI>comfy set-default ComfyUI
warn: The recent workspace Z:\AI\ComfyUI_windows_portable\ComfyUI is not a valid ComfyUI path.

Specified path is not a ComfyUI path: Z:\AI\ComfyUI.

(env) Z:\AI>cd Z:\AI\ComfyUI

To Reproduce
Steps to reproduce the behavior
py -3.10 -m venv env
env\Scripts\Activate
pip install comfy-cli

Expected behavior
It wont set the workspace so I cant launch it.

@scaruslooner scaruslooner added the bug Something isn't working label Nov 10, 2024
@P1LeFR
Copy link

P1LeFR commented Dec 8, 2024

This is a a bit different than scaruslooner bug but still due to workspace:

Trying to install ComfyUI and ComfyUI manager: (https://github.com/ltdrdata/ComfyUI-Manager)

Installation[method3] (Installation through comfy-cli: install ComfyUI and ComfyUI-Manager at once.)
RECOMMENDED: comfy-cli provides various features to manage ComfyUI from the CLI.
prerequisite: python 3, git

Windows:
python -m venv venv
venv\Scripts\activate
pip install comfy-cli
comfy install

At the step comfy install the warning appear twice
(venv) PS D:\comfy> comfy install
warn: The recent workspace None is not a valid ComfyUI path.
warn: The recent workspace None is not a valid ComfyUI path.

? What GPU do you have? nvidia
Install from https://github.com/comfyanonymous/ComfyUI to C:\Users\PL\Documents\comfy\ComfyUI? [y/N]:

My environment venv is correct.
I checked in D:\comfy\venv\Scripts the files activate.bat and activate.ps1
It appear to me that activate.ps1 is not able to get my venv environment (I may be wrong I'm learning coding)

In any case an issue occurs to set the installation directory (workspace) for ComfyUI.

I tried to push the workspace : "comfy install --workspace D:\comfy\comfyui" but this is not a valid command

Any thoughts how to solve this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants