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

Linux install instructions do not work as expected #32

Open
tholonia opened this issue Jan 8, 2024 · 0 comments
Open

Linux install instructions do not work as expected #32

tholonia opened this issue Jan 8, 2024 · 0 comments

Comments

@tholonia
Copy link

tholonia commented Jan 8, 2024

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 in ainodes-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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant