micropy-cli
micropy-cli copied to clipboard
stubs add in VSC on Windows tries to access github but is acting like it is a local file path
I am unable to install stubs. It seems it is taking a local file approach to me while the path is an internet URL. This is part of the error that micropy generates:
│ C:\Users\sevenw\AppData\Local\Programs\Python\Python38\lib\pathlib.py:1191 in stat │
│ │
│ 1188 │ │ Return the result of the stat() system call on this path, like │
│ 1189 │ │ os.stat() does. │
│ 1190 │ │ """ │
│ ❱ 1191 │ │ return self._accessor.stat(self) │
│ 1192 │ │
│ 1193 │ def owner(self): │
│ 1194 │ │ """ │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ self = WindowsPath('https:/codeload.github.com/BradenM/micropy-stubs/legacy.tar.gz/pkg/esp3… │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
OSError: [WinError 123] De syntaxis van de bestandsnaam, mapnaam of volumenaam is onjuist:
'https:\\codeload.github.com\\BradenM\\micropy-stubs\\legacy.tar.gz\\pkg\\esp32-micropython-1.15.0'