Skip to content

Commit

Permalink
docs: add installation troubleshooting (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaoses-Ib committed Jun 19, 2024
1 parent f490399 commit f6a34df
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ If there are problems with the latest ComfyUI package, one can use the last test
python -m pip install --no-build-isolation git+https://github.com/hiddenswitch/ComfyUI.git@e49c662c7f026f05a5e082d48b629e2b977c0441
```

### Other ways
ComfyScript can also be used without installed ComfyUI. See [only ComfyScript package](docs/README.md#only-comfyscript-package) for details. And see [uninstallation](docs/README.md#uninstallation) for how to uninstall.
### Others
See [troubleshooting](docs/README.md#troubleshooting) if you encountered any problems. To use ComfyScript without installed ComfyUI, see [only ComfyScript package](docs/README.md#only-comfyscript-package) for details. To uninstall, see [uninstallation](docs/README.md#uninstallation).

## Transpiler
The transpiler can translate ComfyUI's workflows to ComfyScript.
Expand Down
13 changes: 13 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,19 @@ import comfy_script

</details>

### Troubleshooting
#### ERROR: File "setup.py" or "setup.cfg" not found
Run `python -m pip install -U pip` to update pip.

#### ModuleNotFoundError: No module named 'hatchling'
Run `python -m pip install hatchling` . See [#41](https://github.com/Chaoses-Ib/ComfyScript/issues/41) for details.

#### ModuleNotFoundError: No module named 'editables'
Run `python -m pip install editables` . See [#41](https://github.com/Chaoses-Ib/ComfyScript/issues/41) for details.

#### ModuleNotFoundError: No module named 'comfy_extras.nodes_model_merging'
Installing ComfyUI package in the same venv used by official ComfyUI will break the official ComfyUI. Uninstalling ComfyUI package by `python -m pip uninstall comfyui` can fix this problem. See [ComfyUI#3702](https://github.com/comfyanonymous/ComfyUI/issues/3702) for details.

### Uninstallation
```sh
python -m pip uninstall comfy-script
Expand Down

0 comments on commit f6a34df

Please sign in to comment.