nbconvert: Conversion fails on win

Hello,

When I run nbconvert with or without commands, I get the following message:

jupyter-nbconvert.exe
failed to create process.```


I've tried reinstalling and I still get the same issue.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 35 (20 by maintainers)

Most upvoted comments

@Jeff-Winchell, we do test on Windows, and do our best to ensure that all the Jupyter tools work as well as possible on Windows. Overall on the team we have more Linux/macOS expertise, but we actively try to provide a robust Windows experience, within our abilities.

In this case, the problem is that we’re not 100% sure what is going on here. On a currently up-to-date version of Windows 10 with an updated Anaconda install, I get the following:

image

This test was conducted with both a conda instlalled into a path with spaces in it, and with a notebook also living in a directory with spaces in it. We use Python’s subprocess machinery to ensure that paths with spaces in them work as well as possible.

Evidently the issue that @erihanse and others are reporting is real, but we don’t understand its root cause yet. If we can better understand the installation conditions that are leading to them seeing this problem, we’ll be happy to fix it, if it’s on the nbconvert or jupyter wrapper side. Until then, given that in our tests it’s working fine, we can’t make much progress.

However, language like this:

Pay attention to spaces, they are ALL OVER windows and forcing your product to only run on systems that don’t include spaces in the filename/file path is dumb/arrogant (pick your adjective).

is both a very unproductive way to engage a developer team, and completely unwelcome in our repositories and community.

I recommend that you read Bret Cannon’s excellent post, on why this harms the long-term health of open source communities.

@Jeff-Winchell, please be civil and refrain from calling the folks that offer you the sweat of their labor for free dumb and arrogant. Open source only works because of people.

Changed title to Conversion fails on win because this was not related to the slides and describes better the discussion.