Issue 812: Add venv info to readme

This commit is contained in:
reaper47 2023-06-30 15:47:02 +02:00
parent 5a9ddf94eb
commit b5ea0c6447

View File

@ -111,9 +111,32 @@ And install it again with the command above.
### Dependencies
Install the dependencies by opening your terminal inside the ComfyUI folder and:
Make sure you have set up a virtual environment. It is highly recommended to use [venv](https://docs.python.org/3/library/venv.html) to isolate the project dependencies.
```pip install -r requirements.txt```
If you haven't created one yet, you can do so by following these steps:
1. Open your terminal inside the ComfyUI folder.
1. Create the virtual environment:
```shell
python -m venv venv
```
1. Activate it by running the appropriate command based on your operating system:
- Windows:
```shell
.\venv\Scripts\activate
```
- Linux:
```shell
source ./venv/bin/activate
```
Install the dependencies:
```shell
pip install -r requirements.txt
```
After this you should have everything installed and can proceed to running ComfyUI.