AnswerDotAI / AnswerDotAI/nbdev
nbdev_install_quarto doesn't work with Windows 10 system
- Lingua principale
- Jupyter Notebook
- Stelle
- 5.3k
- Fork
- 513
- Merge medio
- 2g 30m
- PR unite (30g)
- 8
Descrizione
Bug description
This is the error code that I received when I attempted nbdev_install_quarto:
User
```
PS C:\Users\RongFangLi\test> nbdev_new --lib_name test_repo
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\RongFangLi\anaconda3\Scripts\nbdev_new.exe_main.py", line
4, in
File "C:\Users\RongFangLi\anaconda3\Lib\site-packages\nbdev\cli.py", line 13
, in
from .quarto import nbdev_readme, refresh_quarto_yml
File "C:\Users\RongFangLi\anaconda3\Lib\site-packages\nbdev\quarto.py", line
6, in
from os import system, uname
ImportError: cannot import name 'uname' from 'os' (C:\Users\RongFangLi\anacond
a3\Lib\os.py)
```
### Steps to reproduce
Follow this guide on a windows 10 system:
https://nbdev.fast.ai/getting_started.html
### Expected behavior
No error
### Actual behavior
Error code above
### Your environment
Windows 10 system on a standard i7 Lenovo laptop
### Quarto check output
There was no other output other than the error message above. I believe it is simply a issue because the package is produced with Linux and Mac system in mind.
Thanks
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Riprodurre il problema seguendo la guida introduttiva su Windows 10, quindi esaminare il modulo nbdev/quarto.py identificato nel traceback. Verificare il comportamento del comando che non riesce su Windows e confermare che nbdev_new e nbdev_install_quarto vengano completati senza l’ImportError.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- jupyter, python
- Ambito
- cli, tooling
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100