XmYx / ainodes-engine

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

fails to start after following instructions for windows #23

Closed nicholasVANDAL closed 1 year ago

nicholasVANDAL commented 1 year ago

I have followed the instructions for installing on windows. I have python 3.10, nvidia drivers with CUDA, and GIT. I have downloaded the 1 click installer and run it. I have the shortcut generated on my desktop. I double click it, console pops up and closes straight away.

I am on windows 11.

and I am now sad

nicholasVANDAL commented 1 year ago

when running main.py directly i get this

C:...\ainodes-engine>python main.py Traceback (most recent call last): File "C:...\ainodes-engine\main.py", line 5, in from PyQt6.QtCore import QPropertyAnimation, QEasingCurve ModuleNotFoundError: No module named 'PyQt6'

nicholasVANDAL commented 1 year ago

I followed the linux instructions and converted them to install for a windows env. I needed to ensure that I had long path names enabled on the system https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation

then i ran into some more issues

C:...\ainodes-engine>python main.py Start aiNodes, please wait. 2023-06-13 16:59:31.041701 Using HF Cache in app dir Importing from custom_nodes\ainodes_engine_base_nodes A matching Triton is not available, some optimizations will not be enabled. Error caught was: No module named 'triton' C:...\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\torchvision\transforms\functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional. warnings.warn( Importing from custom_nodes\ainodes_engine_deforum_nodes Importing from custom_nodes\ainodes_engine_iterator_nodes

│ │ │ C:...\GitHub\ainodes-engine\custom_nodes\ainodes_engineiterator │ │ nodes\conditioning_nodes\many_prompts_node.py:12 in │ │ │ │ 9 from ainodes_frontend.node_engine.node_content_widget import QDMNodeContentWidget │ │ 10 from ainodes_frontend.node_engine.utils import dumpException │ │ 11 from ainodes_frontend import singleton as gs │ │ ❱ 12 from pydispatch import dispatcher │ │ 13 │ │ 14 """ │ │ 15 Always change the name of this variable when creating a new Node │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ ModuleNotFoundError: No module named 'pydispatch'

so still debugging

XmYx commented 1 year ago

hey, the error message suggests that you are missing the requirements for the iterator nodes package by osi please, while in the venv, go through each folder in the custom_nodes folder, and make sure to do a git pull, and pip install -r requirements.txt, as well as in the main repo (ainodes-engine), or run the update_ainodes.bat straight ahead.

XmYx commented 1 year ago

I think we have talked on Discord, and your installation worked afterall, so closing this issue. Please make sure to reach out on Deforum discord if you are facing any install issues.