PlatformIO Community

PIO hangs at Loading

Iinstalled / uninstalled several times with no luck. Can you help? TIA

Configuration
VSCode: 1.36.1
Electron: 4.2.5
System: Windows_NT x64 10.0.18362
PIO IDE: v1.7.1

Exception

Error: Error: Traceback (most recent call last):
  File "d:\users\jomava\.platformio\penv\lib\site-packages\platformio\__main__.py", line 88, in main
    cli(None, None, None)
  File "d:\users\jomava\.platformio\penv\lib\site-packages\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "d:\users\jomava\.platformio\penv\lib\site-packages\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "d:\users\jomava\.platformio\penv\lib\site-packages\platformio\commands\__init__.py", line 37, in invoke
    return super(PlatformioCLI, self).invoke(ctx)
  File "d:\users\jomava\.platformio\penv\lib\site-packages\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "d:\users\jomava\.platformio\penv\lib\site-packages\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "d:\users\jomava\.platformio\penv\lib\site-packages\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "d:\users\jomava\.platformio\penv\lib\site-packages\platformio\commands\home\command.py", line 38, in cli
    from autobahn.twisted.resource import WebSocketResource
ImportError: No module named autobahn.twisted.resource

============================================================

  at P.Promise (D:\Users\Jomava\.vscode\extensions\platformio.platformio-ide-1.7.1\node_modules\platformio-node-helpers\dist\index.js:1:15270)
  at ChildProcess.h (D:\Users\Jomava\.vscode\extensions\platformio.platformio-ide-1.7.1\node_modules\platformio-node-helpers\dist\index.js:1:5904)
  at ChildProcess.emit (events.js:182:13)
  at ChildProcess.cp.emit (D:\Users\Jomava\.vscode\extensions\platformio.platformio-ide-1.7.1\node_modules\cross-spawn\lib\enoent.js:34:29)
  at maybeClose (internal/child_process.js:962:16)
  at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)

Try to remove d:\users\jomava\.platformio\packages folder and restart VSCode.

1 Like