This repository has been archived by the owner on Dec 10, 2023. It is now read-only.
New Install Not working Even after editing line 77 of main.py #80
Labels
bug
Something isn't working
Describe the bug
Installing the extension for the first time doenst work even after edit fix
To Reproduce
Fresh install get first error of Line 77
Edit Line 77
Extension not working at all
Expected behavior
Extension working on AUTOMATIC111
Environment
Additional context
I did the fix of editing line 77 of main.py
Using Fix:
Original (the bug one):
if (hasattr(opts, 'control_net_max_models_num'):
Fixed:
if (hasattr(opts, 'control_net_max_models_num')):
New Error Appears:
Error loading script: main.py
Traceback (most recent call last):
File "F:\stable-diffusion-webui\modules\scripts.py", line 248, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "F:\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "F:\stable-diffusion-webui\extensions\openpose-editor\scripts\main.py", line 14, in
from scripts.openpose.body import Body
ModuleNotFoundError: No module named 'scripts.openpose'
The text was updated successfully, but these errors were encountered: