-
Notifications
You must be signed in to change notification settings - Fork 114
Description
Describe the bug
I'm not sure if this counts as a bug, but this behavior is very strange.
I created an environment called comfyenv using conda and installed comfy-cli, which worked perfectly.
When I cloned comfyenv to comfyenv2 using conda, and then launched comfyUI using comfy-cli from comfyenv2, it was actually using the comfyenv environment.
I'm pretty sure I haven't messed up my environment, because when I execute Get-Command comfy | Select-Object Source in comfyen2, I get C:\Users\louis\anaconda3\envs\comfyenv2\Scripts\comfy.exe.
Then I execute comfy env.
(comfyenv2) PS C:\Users\louis> comfy env
Environment Information
┌──────────────────────────────────────┬─────────────────────────────────────────────────┐
│ 💻 Environment │ Value │
├──────────────────────────────────────┼─────────────────────────────────────────────────┤
│ Python Version │ 3.13.9 │
│ Python Executable │ C:\Users\louis\anaconda3\envs\COMFYENV\python.exe │
│ Virtualenv Path │ Not Used │
│ Conda Env │ comfyenv │
│ Config Path │ C:\Users\louis\AppData\Local\comfy-cli\config.ini │
│ Default ComfyUI workspace │ D:\comfy\ComfyUI │
│ Default ComfyUI launch extra options │ None │
│ Recent ComfyUI workspace │ D:\comfy\ComfyUI │
│ Tracking Analytics │ Enabled │
│ Background ComfyUI │ No │
│ Comfy Server Running │ No │
│ Current selected workspace │ → D:\comfy\ComfyUI │
└────────────────────────────────────┴────────────────────────────────────────────────┘
(comfyenv2) PS C:\Users\louis>
This doesn't seem right.
I then reinstalled comfy-cli in comfyenv2, and it worked perfectly, using the correct Python environment.
This doesn't seem right.
I then reinstalled comfy-cli in comfyenv2, and it worked perfectly, using the correct Python environment.
To Reproduce
create a new python env A
install comfy-cli
install comfyUI
clone env A to env B
Expected behavior
comfy-cli use right env where it is.