Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SevenW opened this issue Jan 8, 2024 · 0 comments
Labels
question Further information is requested

Comments

@SevenW
Copy link

SevenW commented Jan 8, 2024

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'
@SevenW SevenW added the question Further information is requested label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant