AnswerDotAI / AnswerDotAI/nbdev
ImportError: cannot import name 'uname' from 'os' [Windows]
Open
bug
- Dominant language
- Jupyter Notebook
- Stars
- 5.3k
- Forks
- 513
- Avg merge
- 2d 30m
- Merged PRs (30d)
- 8
Description
In new version 2.3.13 there is a bug of os lib import (for example, when command nbdev_new is used), I guess this was not tested in Windows environment:
nbdev_new
site-packages\nbdev\quarto.py", line 6, in from os import system, uname
ImportError: cannot import name 'uname' from 'os'
Version 2.3.12 works fine.
Contributor guide
Research direction
Start with nbdev/quarto.py, where the traceback shows the failing import, and reproduce nbdev_new on Windows. Confirm the behavior against version 2.3.12; done means nbdev_new no longer raises ImportError for os.uname on Windows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter, python
- Domain
- cli, devtools
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100