Pinokio
FeedAppsRemoteCreate
Download Pinokio
Sign inCreate accountJoin
Sign inCreate accountJoin

Post

Conversation

Wan2GP: ModuleNotFoundError: No module named 'torch'

@yasir_munaf2021·1mo ago

App: Wan2GP (wan.git)
Repo: https://github.com/pinokiofactory/wan.git
Generated: 2026-09-29T21:30:35.029Z
Pinokio: 8.2.0
Platform: darwin x64
Node: v22.21.1

Summary

System

{
  "pinokio": {
    "version": "8.2.0",
    "node": "v22.21.1",
    "platform": "darwin",
    "arch": "x64"
  },
  "hardware": {
    "gpu": "intel",
    "gpu_model": "intel iris plus graphics",
    "ram_gb": 8,
    "vram_gb": 2,
    "gpu_driver": null,
    "gpu_target": null
  },
  "os": {
    "platform": "darwin",
    "distro": "macOS",
    "release": "15.8",
    "codename": "Sequoia",
    "kernel": "24.6.0",
    "arch": "x64",
    "build": "24H23",
    "uefi": true
  },
  "system": {
    "manufacturer": "Apple Inc.",
    "model": "MacBookAir9,1",
    "version": "MacBook Air (13-inch, 2020)",
    "virtual": false
  },
  "cpu": {
    "manufacturer": "Intel",
    "brand": "Core™ i3-1000NG4",
    "vendor": "GenuineIntel",
    "family": "6",
    "model": "126",
    "stepping": "5",
    "speed": 1.1,
    "speedMin": 1.1,
    "speedMax": 1.1,
    "cores": 4,
    "physicalCores": 2,
    "processors": 1,
    "performanceCores": 4,
    "efficiencyCores": 0,
    "virtualization": true,
    "cache": {
      "l1d": 49152,
      "l1i": 32768,
      "l2": 524288,
      "l3": 4194304
    }
  },
  "memory": {
    "total": 8589934592,
    "free": 107139072,
    "used": 8482795520,
    "active": 6245949440,
    "available": 2343985152,
    "buffers": 0,
    "cached": 0,
    "slab": 0,
    "buffcache": 2236846080,
    "swaptotal": 2147483648,
    "swapused": 583008256,
    "swapfree": 1564475392
  },
  "gpus": [
    {
      "model": "intel iris plus graphics"
    }
  ],
  "graphics": {
    "controllers": [
      {
        "vendor": "Intel",
        "model": "Intel Iris Plus Graphics",
        "bus": "Built-In",
        "vram": 1536,
        "vramDynamic": true
      }
    ],
    "displays": [
      {
        "model": "Color LCD",
        "main": true,
        "builtin": true,
        "connection": "Internal",
        "currentResX": 1680,
        "currentResY": 1050,
        "resolutionX": 3360,
        "resolutionY": 2100,
        "pixelDepth": 32
      }
    ]
  },
  "diagnostics": {
    "platform": "darwin",
    "arch": "x64",
    "running": {
      "shell/gh_login": true,
      "shell/Users/air/pinokio/api/wan.git_dev.bash.venv.0?session=697dcf05-7004-4bd9-80dd-c48f86b6e6bd": true,
      "shell/Users/air/pinokio/api/wan.git_dev.bash.plain?session=30243553-c4ea-453a-aa15-0b7c4a267efc": true
    },
    "home": "/Users/air/pinokio",
    "vars": {
      "pip": {
        "install": {
          "torch": "pip3 install torch torchvision torchaudio"
        }
      }
    },
    "memory": {
      "local": {},
      "global": {},
      "rpc": {
        "/Users/air/pinokio/api/wan.git/install.js": {
          "method": "notify",
          "params": {
            "html": "Installation completed"
          }
        },
        "/Users/air/pinokio/api/wan.git/torch.js": null,
        "/Users/air/pinokio/api/wan.git/reset.js": {
          "method": "fs.rm",
          "params": {
            "path": "app"
          }
        },
        "/Users/air/pinokio/api/wan.git/update.js": null,
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/claude-desktop/pinokio.js?cwd=/Users/air/pinokio/plugin/pinokio": {
          "method": "process.wait",
          "params": {
            "title": "Launched",
            "description": "Click the stop button to stop watching file changes"
          },
          "current": 1,
          "total": 2
        },
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/claude-desktop/pinokio.js": {},
        "/Users/air/pinokio/api/wan.git/start.js": {
          "method": "shell.run",
          "params": {
            "venv": "venv",
            "env": {
              "SERVER_NAME": "127.0.0.1",
              "SERVER_PORT": 42006
            },
            "path": "app",
            "message": [
              "python wgp.py --multiple-images --advanced {{args.compile ? '--compile' : ''}}"
            ],
            "on": [
              {
                "event": "/http://[0-9.:]+/",
                "done": true
              }
            ]
          }
        },
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/codex/pinokio.js?cwd=/Users/air/pinokio/api/wan.git": {
          "when": "{{platform !== 'win32'}}",
          "id": "run",
          "method": "shell.run",
          "params": {
            "message": {
              "_": [
                "npx",
                "-y",
                "@openai/codex@latest",
                "{{args.prompt || undefined}}"
              ]
            },
            "path": "{{args.cwd}}",
            "input": true
          },
          "current": 1,
          "total": 2
        },
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/codex/pinokio.js": {},
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/grok-auto/pinokio.js?cwd=/Users/air/pinokio/api/wan.git": {
          "when": "{{platform !== 'win32'}}",
          "id": "run",
          "method": "shell.run",
          "params": {
            "message": {
              "_": [
                "npx",
                "-y",
                "@xai-official/grok@latest",
                "--always-approve",
                "{{args.prompt || undefined}}"
              ]
            },
            "path": "{{args.cwd}}",
            "input": true,
            "buffer": 1024
          },
          "current": 1,
          "total": 2
        },
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/grok-auto/pinokio.js": {},
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/claude-desktop/pinokio.js?cwd=/Users/air/pinokio/api/wan.git": {
          "method": "process.wait",
          "params": {
            "title": "Launched",
            "description": "Click the stop button to stop watching file changes"
          },
          "current": 1,
          "total": 2
        },
        "/Users/air/pinokio/scripts/git/commit_files.json?cwd=/Users/air/pinokio/api/wan.git/app": {
          "when": "{{(args.paths && args.paths.length > 0) || (args.untracked_paths && args.untracked_paths.length > 0)}}",
          "method": "shell.run",
          "params": {
            "chain": true,
            "path": "{{args.cwd}}",
            "message": [
              "git commit -m \"{{args.message}}\""
            ]
          },
          "current": 2,
          "total": 3
        },
        "/Users/air/pinokio/scripts/git/commit_files.json": {}
      },
      "input": {
        "/Users/air/pinokio/api/wan.git/install.js": null,
        "/Users/air/pinokio/api/wan.git/torch.js": null,
        "/Users/air/pinokio/api/wan.git/reset.js": {},
        "/Users/air/pinokio/api/wan.git/update.js": null,
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/claude-desktop/pinokio.js?cwd=/Users/air/pinokio/plugin/pinokio": {
          "uri": "claude://code/new?q=Video&folder=%2FUsers%2Fair%2Fpinokio%2Fplugin%2Fpinokio",
          "result": {
            "ok": false,
            "error": "open exited with code 1"
          }
        },
        "/Users/air/pinokio/api/wan.git/start.js": {
          "compile": "true"
        },
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/codex/pinokio.js?cwd=/Users/air/pinokio/api/wan.git": null,
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/grok-auto/pinokio.js?cwd=/Users/air/pinokio/api/wan.git": null,
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/claude-desktop/pinokio.js?cwd=/Users/air/pinokio/api/wan.git": {
          "uri": "claude://code/new?q=Investigate%20what%20went%20wrong.%20Inspect%20the%20app%20logs%20and%20explain%20the%20likely%20root%20cause%20and%20next%20fix.&folder=%2FUsers%2Fair%2Fpinokio%2Fapi%2Fwan.git",
          "result": {
            "ok": false,
            "error": "open exited with code 1"
          }
        },
        "/Users/air/pinokio/scripts/git/commit_files.json?cwd=/Users/air/pinokio/api/wan.git/app": {
          "id": "b8fd9ef2-9134-40d7-ae03-ef9202a85033",
          "response": "\r\nThe default interactive shell is now zsh.\r\nTo update your account to use zsh, please run `chsh -s /bin/zsh`.\r\nFor more details, please visit https://support.apple.com/kb/HT208050.\r\n<<PINOKIO_SHELL>>eval \"$(conda shell.bash hook)\" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base && git add -- \"/Users/air/pinokio/api/wan.git/app/venv/bin/Activate.ps1\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/clear_comtypes_cache\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/pip\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/pip3\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/pip3.10\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/python\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/python3\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/python3.10\" \"/Users/air/pinokio/api/wan.git/app/venv/pyvenv.cfg\"\r\n(base) <<PINOKIO_SHELL>>",
          "stdout": "\r\nThe default interactive shell is now zsh.\r\nTo update your account to use zsh, please run `chsh -s /bin/zsh`.\r\nFor more details, please visit https://support.apple.com/kb/HT208050.\r\n<<PINOKIO_SHELL>>eval \"$(conda shell.bash hook)\" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base && git add -- \"/Users/air/pinokio/api/wan.git/app/venv/bin/Activate.ps1\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/clear_comtypes_cache\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/pip\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/pip3\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/pip3.10\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/python\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/python3\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/python3.10\" \"/Users/air/pinokio/api/wan.git/app/venv/pyvenv.cfg\"\r\n(base) <<PINOKIO_SHELL>>"
        }
      },
      "args": {
        "/Users/air/pinokio/api/wan.git/install.js": {},
        "/Users/air/pinokio/api/wan.git/torch.js": null,
        "/Users/air/pinokio/api/wan.git/reset.js": {},
        "/Users/air/pinokio/api/wan.git/update.js": null,
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/claude-desktop/pinokio.js?cwd=/Users/air/pinokio/plugin/pinokio": {
          "cwd": "/Users/air/pinokio/plugin/pinokio",
          "chrome": "full",
          "prompt": "Video"
        },
        "/Users/air/pinokio/api/wan.git/start.js": {
          "compile": "true"
        },
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/codex/pinokio.js?cwd=/Users/air/pinokio/api/wan.git": {
          "cwd": "/Users/air/pinokio/api/wan.git",
          "ask_ai": "1",
          "prompt": "Investigate what went wrong. Inspect the app logs and explain the likely root cause and next fix."
        },
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/grok-auto/pinokio.js?cwd=/Users/air/pinokio/api/wan.git": {
          "cwd": "/Users/air/pinokio/api/wan.git"
        },
        "/Applications/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/claude-desktop/pinokio.js?cwd=/Users/air/pinokio/api/wan.git": {
          "cwd": "/Users/air/pinokio/api/wan.git",
          "ask_ai": "1",
          "prompt": "Investigate what went wrong. Inspect the app logs and explain the likely root cause and next fix."
        },
        "/Users/air/pinokio/scripts/git/commit_files.json?cwd=/Users/air/pinokio/api/wan.git/app": {
          "cwd": "/Users/air/pinokio/api/wan.git/app",
          "message": "Add 9 files",
          "untracked_paths": "\"/Users/air/pinokio/api/wan.git/app/venv/bin/Activate.ps1\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/clear_comtypes_cache\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/pip\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/pip3\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/pip3.10\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/python\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/python3\" \"/Users/air/pinokio/api/wan.git/app/venv/bin/python3.10\" \"/Users/air/pinokio/api/wan.git/app/venv/pyvenv.cfg\"",
          "callback_target": "parent",
          "callback": "$location.href"
        }
      }
    },
    "procs": {},
    "gpu": "intel",
    "gpus": [
      {
        "name": "intel",
        "model": "intel iris plus graphics",
        "driver": null
      }
    ],
    "gpu_model": "intel iris plus graphics",
    "gpu_driver": null,
    "gpu_target": null,
    "ram": 8,
    "vram": 2,
    "version": "8.2.0",
    "system": {
      "manufacturer": "Apple Inc.",
      "model": "MacBookAir9,1",
      "version": "MacBook Air (13-inch, 2020)",
      "serial": "FVFDFWDKMNHR",
      "uuid": "094be728-135b-5bba-b30a-bc25b806a52f",
      "sku": "Mac-0CFF9C7C2B63DF8D",
      "virtual": false,
      "type": "Notebook"
    },
    "mem": {
      "total": 8589934592,
      "free": 107139072,
      "used": 8482795520,
      "active": 6245949440,
      "available": 2343985152,
      "buffers": 0,
      "cached": 0,
      "slab": 0,
      "buffcache": 2236846080,
      "reclaimable": 2646773760,
      "swaptotal": 2147483648,
      "swapused": 583008256,
      "swapfree": 1564475392,
      "writeback": null,
      "dirty": null
    },
    "osInfo": {
      "platform": "darwin",
      "distro": "macOS",
      "release": "15.8",
      "codename": "Sequoia",
      "kernel": "24.6.0",
      "arch": "x64",
      "hostname": "YASIR-MacBook-Air.local",
      "fqdn": "YASIR-MacBook-Air.local",
      "codepage": "UTF-8",
      "logofile": "apple",
      "serial": "B7B3E8AD-9CA6-382C-BD56-8D52139342A4",
      "build": "24H23",
      "servicepack": "",
      "uefi": true
    },
    "shell": "/bin/zsh",
    "cpu": {
      "manufacturer": "Intel",
      "brand": "Core™ i3-1000NG4",
      "vendor": "GenuineIntel",
      "family": "6",
      "model": "126",
      "stepping": "5",
      "revision": "",
      "voltage": "",
      "speed": 1.1,
      "speedMin": 1.1,
      "speedMax": 1.1,
      "governor": "",
      "cores": 4,
      "physicalCores": 2,
      "performanceCores": 4,
      "efficiencyCores": 0,
      "processors": 1,
      "socket": "",
      "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clfsh ds acpi mmx fxsr sse sse2 ss htt tm pbe sse3 pclmulqdq dtes64 mon dscpl vmx est tm2 ssse3 fma cx16 tpr pdcm sse4.1 sse4.2 x2apic movbe popcnt aes pcid xsave osxsave seglim64 tsctmr avx1.0 rdrand f16c",
      "virtualization": true,
      "cache": {
        "l1d": 49152,
        "l1i": 32768,
        "l2": 524288,
        "l3": 4194304
      }
    },
    "audio": [
      {
        "id": 0,
        "name": "MacBook Air Microphone",
        "manufacturer": "Apple Inc.",
        "revision": null,
        "driver": null,
        "default": true,
        "channel": "Built-In",
        "type": "Phone",
        "in": true,
        "out": false,
        "status": "online"
      },
      {
        "id": 1,
        "name": "MacBook Air Speakers",
        "manufacturer": "Apple Inc.",
        "revision": null,
        "driver": null,
        "default": true,
        "channel": "Built-In",
        "type": "Speaker",
        "in": false,
        "out": true,
        "status": "online"
      },
      {
        "id": 2,
        "name": "Microsoft Teams Audio",
        "manufacturer": "Microsoft Corp.",
        "revision": null,
        "driver": null,
        "default": false,
        "channel": "",
        "type": "Microphone",
        "in": true,
        "out": true,
        "status": "online"
      }
    ],
    "graphics": {
      "controllers": [
        {
          "vendor": "Intel",
          "model": "Intel Iris Plus Graphics",
          "bus": "Built-In",
          "vramDynamic": true,
          "vram": 1536,
          "deviceId": "0x8a5c",
          "vendorId": "0x8086",
          "external": false,
          "cores": null,
          "metalVersion": ""
        }
      ],
      "displays": [
        {
          "vendor": "Apple",
          "vendorId": "610",
          "model": "Color LCD",
          "productionYear": "2018",
          "serial": null,
          "displayId": "4281040",
          "main": true,
          "builtin": true,
          "connection": "Internal",
          "sizeX": null,
          "sizeY": null,
          "pixelDepth": 32,
          "resolutionX": 3360,
          "resolutionY": 2100,
          "currentResX": 1680,
          "currentResY": 1050,
          "positionX": 0,
          "positionY": 0,
          "currentRefreshRate": null
        }
      ]
    }
  }
}

Logs

logs/api/start.js/1790717410862

Source: api / start.js
Lines: 11 total, last 11 included

[api shell.run]

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
<<PINOKIO_SHELL>>eval "$(conda shell.bash hook)" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base ; source /Users/air/pinokio/api/wan.git/app/venv/bin/activate /Users/air/pinokio/api/wan.git/app/venv && python wgp.py --multiple-images --advanced --compile
Traceback (most recent call last):
  File "/Users/air/pinokio/api/wan.git/app/wgp.py", line 12, in <module>
    import torch._logging as tlog
ModuleNotFoundError: No module named 'torch'
(venv) (base) <<PINOKIO_SHELL>>
Wan2GPpinokiofactory/wan
#bug#logs
Loading conversation…

Replies

Post context

App used

Wan2GPpinokiofactory/wan

1-click WanGP Launcher. Super Optimized Gradio UI for AI video creation for GPU poor machines (6GB+ VRAM). Supports Wan 2.1/2.2, Qwen, Hunyuan Vide...

View app

Published by

@yasir_munaf20211mo ago
#bug#logs
Pinokio
PrivacyTerms
FeedAppsCreateRemote

Post context

App used

Wan2GPpinokiofactory/wan

1-click WanGP Launcher. Super Optimized Gradio UI for AI video creation for GPU poor machines (6GB+ VRAM). Supports Wan 2.1/2.2, Qwen, Hunyuan Vide...

View app

Published by

@yasir_munaf20211mo ago
#bug#logs

Related posts

Qwen3-TTS: Error: Command '['C:\\pinokio\\api\\Qwen3-TTS-Pinokio.git\\app\\venv\\Scripts\\python.exe', '-m…@terryb0913 · 5d agoWan2GP - AMD: ImportError: cannot import name 'sentinel' from 'typing_extensions' (C:\pinokio\api\wan2gp-amd.…@alln1ghtr · 18d agoPCM: RuntimeError: Failed to import diffusers.pipelines.stable_diffusion_xl.pipeline_stable_diffusio…@deepakbaba420 · 27d ago