Skip to content

nbdev_install_quarto doesn't work with Windows 10 system #1404

@ronfan

Description

@ronfan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions