BradenM / BradenM/micropy-cli

stubs add in VSC on Windows tries to access github but is acting like it is a local file path

Open
#555 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
337
Forks
29
PR merge metrics
No merged PRs in 30d

Description

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'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.