0

Wan2GP: ModuleNotFoundError: No module named 'torch'

@micah191posted Fri, 25 Sep 2026 03:28:14 GMT·0 replies

App: Wan2GP (wan.git)
Repo: https://github.com/pinokiofactory/wan.git
Generated: 2026-09-25T03:27:24.355Z
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 645",
    "ram_gb": 8,
    "vram_gb": 2,
    "gpu_driver": null,
    "gpu_target": null
  },
  "os": {
    "platform": "darwin",
    "distro": "macOS",
    "release": "14.4.1",
    "codename": "Sonoma",
    "kernel": "23.4.0",
    "arch": "x64",
    "build": "23E224",
    "uefi": true
  },
  "system": {
    "manufacturer": "Apple Inc.",
    "model": "MacBookPro15,4",
    "version": "MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports)",
    "virtual": false
  },
  "cpu": {
    "manufacturer": "Intel",
    "brand": "Core™ i5-8257U",
    "vendor": "GenuineIntel",
    "family": "6",
    "model": "142",
    "stepping": "10",
    "speed": 1.4,
    "speedMin": 1.4,
    "speedMax": 1.4,
    "cores": 8,
    "physicalCores": 4,
    "processors": 1,
    "performanceCores": 8,
    "efficiencyCores": 0,
    "virtualization": true,
    "cache": {
      "l1d": 32768,
      "l1i": 32768,
      "l2": 262144,
      "l3": 6291456
    }
  },
  "memory": {
    "total": 8589934592,
    "free": 101670912,
    "used": 8488263680,
    "active": 6600921088,
    "available": 1989013504,
    "buffers": 0,
    "cached": 0,
    "slab": 0,
    "buffcache": 1887342592,
    "swaptotal": 2147483648,
    "swapused": 386924544,
    "swapfree": 1760559104
  },
  "gpus": [
    {
      "model": "intel iris plus graphics 645"
    }
  ],
  "graphics": {
    "controllers": [
      {
        "vendor": "Intel",
        "model": "Intel Iris Plus Graphics 645",
        "bus": "Built-In",
        "vram": 1536,
        "vramDynamic": true
      }
    ],
    "displays": [
      {
        "model": "Color LCD",
        "main": true,
        "builtin": true,
        "connection": "Internal",
        "currentResX": 1440,
        "currentResY": 900,
        "resolutionX": 2880,
        "resolutionY": 1800,
        "pixelDepth": 32
      }
    ]
  },
  "diagnostics": {
    "platform": "darwin",
    "arch": "x64",
    "running": {
      "/private/var/folders/sq/2sbst6ps5p7gl20z5qyd2xbc0000gn/T/AppTranslocation/D410544B-F772-4C36-8FDA-DB0C08775EBD/d/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/codex/pinokio.js?cwd=/Users/micahclarke/pinokio/api/wan.git": true
    },
    "home": "/Users/micahclarke/pinokio",
    "vars": {
      "pip": {
        "install": {
          "torch": "pip3 install torch torchvision torchaudio"
        }
      }
    },
    "memory": {
      "local": {},
      "global": {},
      "rpc": {
        "/Users/micahclarke/pinokio/api/wan.git/install.js": {
          "method": "notify",
          "params": {
            "html": "Installation completed"
          }
        },
        "/Users/micahclarke/pinokio/api/wan.git/torch.js": null,
        "/Users/micahclarke/pinokio/api/wan.git/start.js": {
          "method": "shell.run",
          "params": {
            "venv": "venv",
            "env": {
              "SERVER_NAME": "127.0.0.1",
              "SERVER_PORT": 42003
            },
            "path": "app",
            "message": [
              "python wgp.py --multiple-images --advanced {{args.compile ? '--compile' : ''}}"
            ],
            "on": [
              {
                "event": "/http://[0-9.:]+/",
                "done": true
              }
            ]
          }
        },
        "/private/var/folders/sq/2sbst6ps5p7gl20z5qyd2xbc0000gn/T/AppTranslocation/D410544B-F772-4C36-8FDA-DB0C08775EBD/d/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/codex/pinokio.js?cwd=/Users/micahclarke/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
        },
        "/private/var/folders/sq/2sbst6ps5p7gl20z5qyd2xbc0000gn/T/AppTranslocation/D410544B-F772-4C36-8FDA-DB0C08775EBD/d/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/codex/pinokio.js": {
          "current": 1,
          "total": 2
        }
      },
      "input": {
        "/Users/micahclarke/pinokio/api/wan.git/install.js": null,
        "/Users/micahclarke/pinokio/api/wan.git/torch.js": null,
        "/Users/micahclarke/pinokio/api/wan.git/start.js": {},
        "/private/var/folders/sq/2sbst6ps5p7gl20z5qyd2xbc0000gn/T/AppTranslocation/D410544B-F772-4C36-8FDA-DB0C08775EBD/d/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/codex/pinokio.js?cwd=/Users/micahclarke/pinokio/api/wan.git": null
      },
      "args": {
        "/Users/micahclarke/pinokio/api/wan.git/install.js": {},
        "/Users/micahclarke/pinokio/api/wan.git/torch.js": null,
        "/Users/micahclarke/pinokio/api/wan.git/start.js": {},
        "/private/var/folders/sq/2sbst6ps5p7gl20z5qyd2xbc0000gn/T/AppTranslocation/D410544B-F772-4C36-8FDA-DB0C08775EBD/d/Pinokio.app/Contents/Resources/app.asar/node_modules/pinokiod/system/plugin/codex/pinokio.js?cwd=/Users/micahclarke/pinokio/api/wan.git": {
          "cwd": "/Users/micahclarke/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."
        }
      }
    },
    "procs": {},
    "gpu": "intel",
    "gpus": [
      {
        "name": "intel",
        "model": "intel iris plus graphics 645",
        "driver": null
      }
    ],
    "gpu_model": "intel iris plus graphics 645",
    "gpu_driver": null,
    "gpu_target": null,
    "ram": 8,
    "vram": 2,
    "version": "8.2.0",
    "system": {
      "manufacturer": "Apple Inc.",
      "model": "MacBookPro15,4",
      "version": "MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports)",
      "serial": "C02ZJ7Z2L40Y",
      "uuid": "1a26c3c6-92b6-5cbd-98b8-8bfb6a43263e",
      "sku": "Mac-53FDB3D8DB8CA971",
      "virtual": false,
      "type": "Notebook"
    },
    "osInfo": {
      "platform": "darwin",
      "distro": "macOS",
      "release": "14.4.1",
      "codename": "Sonoma",
      "kernel": "23.4.0",
      "arch": "x64",
      "hostname": "micahs-MacBook-Pro.local",
      "fqdn": "micahs-MacBook-Pro.local",
      "codepage": "UTF-8",
      "logofile": "apple",
      "serial": "F1663C03-D822-3B5E-9D84-B324A759EC85",
      "build": "23E224",
      "servicepack": "",
      "uefi": true
    },
    "mem": {
      "total": 8589934592,
      "free": 101670912,
      "used": 8488263680,
      "active": 6600921088,
      "available": 1989013504,
      "buffers": 0,
      "cached": 0,
      "slab": 0,
      "buffcache": 1887342592,
      "reclaimable": 2234413056,
      "swaptotal": 2147483648,
      "swapused": 386924544,
      "swapfree": 1760559104,
      "writeback": null,
      "dirty": null
    },
    "shell": "/bin/zsh",
    "cpu": {
      "manufacturer": "Intel",
      "brand": "Core™ i5-8257U",
      "vendor": "GenuineIntel",
      "family": "6",
      "model": "142",
      "stepping": "10",
      "revision": "",
      "voltage": "",
      "speed": 1.4,
      "speedMin": 1.4,
      "speedMax": 1.4,
      "governor": "",
      "cores": 8,
      "physicalCores": 4,
      "performanceCores": 8,
      "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": 32768,
        "l1i": 32768,
        "l2": 262144,
        "l3": 6291456
      }
    },
    "graphics": {
      "controllers": [
        {
          "vendor": "Intel",
          "model": "Intel Iris Plus Graphics 645",
          "bus": "Built-In",
          "vramDynamic": true,
          "vram": 1536,
          "deviceId": "0x3ea6",
          "vendorId": "0x8086",
          "external": false,
          "cores": null,
          "metalVersion": ""
        }
      ],
      "displays": [
        {
          "vendor": "Apple",
          "vendorId": "610",
          "model": "Color LCD",
          "productionYear": "2017",
          "serial": null,
          "displayId": "4280e40",
          "main": true,
          "builtin": true,
          "connection": "Internal",
          "sizeX": null,
          "sizeY": null,
          "pixelDepth": 32,
          "resolutionX": 2880,
          "resolutionY": 1800,
          "currentResX": 1440,
          "currentResY": 900,
          "positionX": 0,
          "positionY": 0,
          "currentRefreshRate": null
        }
      ]
    },
    "audio": [
      {
        "id": 0,
        "name": "MacBook Pro 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 Pro 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"
      }
    ]
  }
}

Logs

logs/api/start.js/1790306834601

Source: api / start.js
Lines: 10 total, last 10 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/micahclarke/pinokio/api/wan.git/app/venv/bin/activate /Users/micahclarke/pinokio/api/wan.git/app/venv && python wgp.py --multiple-images --advanced 
Traceback (most recent call last):
  File "/Users/micahclarke/pinokio/api/wan.git/app/wgp.py", line 12, in <module>
    import torch._logging as tlog
ModuleNotFoundError: No module named 'torch'
Replies (0)
Up to 10 files, 25MB each. Images are optimized; GIFs -> MP4; videos 720p (max 120s).
Wan2GP: ModuleNotFoundError: No module named 'torch' · Pinokio