nbdev icon indicating copy to clipboard operation
nbdev copied to clipboard

unable to follow tutorial (Windows asks me which application it should use to open file)

Open vincenzooo opened this issue 4 years ago • 5 comments

Hello, I am trying to follow the tutorial at [https://nbdev.fast.ai/01_Tutorials/01_tutorial.html] on Windows with conda. I am in a kupyter terminal in the browser. Every time I try to run a command, like nbdev_install_quarto or nbdev_new, I get the Windows popup asking "How do you want to open this file?".. I have tried to open with a text editor and it appears to be a .py file, however I don't know if it is appropriate to select a Python interpreter and which one.

I don't know if this is the reason why I am unable to follow the tutorial (I fail anyway as I am not able to add files to git repository)

vincenzooo avatar Sep 01 '22 15:09 vincenzooo

Hi, try: conda remove nbdev

pip install -U nbdev Somehow conda installs a file without extension and pip installs them as .exe

m1zp avatar Sep 01 '22 15:09 m1zp

Wow, thanks for the super fast reply, I tried to follow the tutorial from beginning and replaced the installation command with pip install -U nbdev, but now I get the error:

  nbdev_install_quarto : The term 'nbdev_install_quarto' is not recognized as the name of a cmdlet, function, script file, or
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
  At line:1 char:1
  + nbdev_install_quarto
  + ~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (nbdev_install_quarto:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

vincenzooo avatar Sep 01 '22 15:09 vincenzooo

Windows is not supported - please use WSL.

jph00 avatar Sep 01 '22 17:09 jph00

Thanks, I had missed it! I have tried using WSL and it is still failing, should I open a new issue or post here?

vincenzooo avatar Sep 05 '22 21:09 vincenzooo

New issue please

jph00 avatar Sep 05 '22 22:09 jph00