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

nbdev_install_quarto doesn't work with Windows 10 system #1404

Open
ronfan opened this issue Apr 18, 2024 · 1 comment
Open

nbdev_install_quarto doesn't work with Windows 10 system #1404

ronfan opened this issue Apr 18, 2024 · 1 comment

Comments

@ronfan
Copy link

ronfan commented Apr 18, 2024

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

@deven367
Copy link
Contributor

Hi @ronfan, you check the solution to this problem over here https://forums.fast.ai/t/strugling-to-install-nbdev/109852/4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants