XmYx / ainodes-engine

GNU Lesser General Public License v2.1
256 stars 14 forks source link

Linux install instructions do not work as expected #32

Open tholonia opened 10 months ago

tholonia commented 10 months ago

I followed the Linux instructions from https://github.com/XmYx/ainodes-engine, but the instructions for Linux failed. I switched to conda and tried again, but I had to change...

source nodes_env/bin/activate
pip install -r requirements.txt

to

source nodes_env/bin/activate
pip install -r requirements-linux.txt

I removed the line

cd ai_nodes

as that directory does not exist, and I am already inainodes-engine

At

cd ainodes_engine_base_nodes
pip install -r requirements.txt

it crashes with:

INFO: pip is looking at multiple versions of realesrgan to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 38) and basicsr>=1.3.4.9 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested basicsr>=1.3.4.9
    realesrgan 0.3.0 depends on basicsr>=1.4.2

I fiddled about with versions in the requirements-linux.txt file but the version conflicts were endless, so I just deleted all version requirements... and everything installed.

But python main.py returned:

Traceback (most recent call last):
  File "/home/jw/store/src/ainodes-engine/main.py", line 211, in <module>
    from deforum.generators.comfy_utils import ensure_comfy
ModuleNotFoundError: No module named 'deforum.generators'

I then tried ./ainodes.sh, which seemed to do a lot of what I just did, but created more subdirs, and apparently created yet another venv inside a venv (conda)! but hey, it works!

Can you provide updated instructions as to how to install on Linux properly?