Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

can't find notedown on windows 10 #13

Open
kirilligum opened this issue Aug 8, 2018 · 4 comments
Open

can't find notedown on windows 10 #13

kirilligum opened this issue Aug 8, 2018 · 4 comments
Labels
bug Something isn't working

Comments

@kirilligum
Copy link

I'm on windows 10

I installed notedown with

conda install notedown

    notedown:          1.5.1-py_0 conda-forge
    pandoc-attributes: 0.1.7-py_1 conda-forge

I installed vimpyter as

Plug 'szymonmaszke/vimpyter' 
autocmd Filetype ipynb nmap <silent><Leader>b :VimpyterInsertPythonBlock<CR>
autocmd Filetype ipynb nmap <silent><Leader>j :VimpyterStartJupyter<CR>
autocmd Filetype ipynb nmap <silent><Leader>n :VimpyterStartNteract<CR>

When I start gVim, I get this error:

notedown executable is required in order for this software to work. Check 
whether you have needed dependencies installed in README.md

image

I guess I have to specify the path to notedown executable? Here is where conda installs it:

(base) C:\WINDOWS\system32>ls C:\Users\kiril\Anaconda3\Scripts\notedown.exe
'C:\Users\kiril\Anaconda3\Scripts\notedown.exe'
@szymonmaszke
Copy link
Owner

Comment out lines 7-11 in plugin/vimpyter.vim, tell me whether everything works fine now.

@kirilligum
Copy link
Author

kirilligum commented Aug 9, 2018 via email

@szymonmaszke szymonmaszke added the bug Something isn't working label Aug 11, 2018
@szymonmaszke
Copy link
Owner

Can you run notedown command from command line (Powershell I suppose)? I am not using Windows or conda, so I can only give you the tips so you can debug it on your own. If the CLI command is different (e.g. conda notedown), you have to change those lines (here, here, here and here, I think that is all of them) to appropriate 'Windows-Conda' command.

If you have some spare time I would really appreciate the PR fixing this issue in a more general manner (detecting conda [other environments as well?]) and adjusting those commands (I am low on time lately).

@kirilligum
Copy link
Author

kirilligum commented Aug 16, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants