kabachuha / sd-webui-text2video

Auto1111 extension implementing text2video diffusion models (like ModelScope or VideoCrafter) using only Auto1111 webui dependencies
Other
1.28k stars 108 forks source link

[Bug]: ModuleNotFoundError: No module named 'numexpr' #225

Closed helloansuman closed 11 months ago

helloansuman commented 11 months ago

Is there an existing issue for this?

Are you using the latest version of the extension?

What happened?

On Automatic 1111. I have downloaded the extension. Then after restart it is giving ModuleNotFoundError: No module named 'numexpr' error ![Uploading image.png…]()

Steps to reproduce the problem

  1. Install extension text2Video from extension tab of Automatic1111
  2. RestartUI
  3. You will get the above error
  4. Also the text2video tab is missing

What should have happened?

No error.

WebUI and Deforum extension Commit IDs

webui commit id - 68f336bd994bed5442ad95bad6b6ad5564a5409a txt2vid commit id - not available

Torch version

'2.0.1+cu118'

What GPU were you using for launching?

2080Ti

On which platform are you launching the webui backend with the extension?

Local PC setup (Windows)

Settings

image

Console logs

*** Error loading script: api_t2v.py
    Traceback (most recent call last):
      File "D:\sd.webui\webui\modules\scripts.py", line 319, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "D:\sd.webui\webui\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "D:\sd.webui\webui\extensions\sd-webui-text2video\scripts\api_t2v.py", line 40, in <module>
        from t2v_helpers.render import run
      File "D:\sd.webui\webui/extensions/sd-webui-text2video/scripts\t2v_helpers\render.py", line 5, in <module>
        from modelscope.process_modelscope import process_modelscope
      File "D:\sd.webui\webui/extensions/sd-webui-text2video/scripts\modelscope\process_modelscope.py", line 10, in <module>
        from t2v_helpers.key_frames import T2VAnimKeys  # TODO: move to deforum_tools
      File "D:\sd.webui\webui/extensions/sd-webui-text2video/scripts\t2v_helpers\key_frames.py", line 6, in <module>
        import numexpr
    ModuleNotFoundError: No module named 'numexpr'

---
*** Error loading script: text2vid.py
    Traceback (most recent call last):
      File "D:\sd.webui\webui\modules\scripts.py", line 319, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "D:\sd.webui\webui\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "D:\sd.webui\webui\extensions\sd-webui-text2video\scripts\text2vid.py", line 24, in <module>
        from t2v_helpers.render import run
      File "D:\sd.webui\webui/extensions/sd-webui-text2video/scripts\t2v_helpers\render.py", line 5, in <module>
        from modelscope.process_modelscope import process_modelscope
      File "D:\sd.webui\webui/extensions/sd-webui-text2video/scripts\modelscope\process_modelscope.py", line 10, in <module>
        from t2v_helpers.key_frames import T2VAnimKeys  # TODO: move to deforum_tools
      File "D:\sd.webui\webui/extensions/sd-webui-text2video/scripts\t2v_helpers\key_frames.py", line 6, in <module>
        import numexpr
    ModuleNotFoundError: No module named 'numexpr'

---

Additional information

No response

kabachuha commented 11 months ago

Oh, thanks! Will add

kabachuha commented 11 months ago

Wait, it's already in the requirements!

https://github.com/kabachuha/sd-webui-text2video/blob/main/requirements.txt

kabachuha commented 11 months ago

Please, send the full log to see if it installs any requirements on startup at all

kabachuha commented 11 months ago

I think I've found where your problem stems from: you have --skip-install as an argument

please remove this param

helloansuman commented 11 months ago

Got it thank you.