Skip to content

Commit

Permalink
Quote sys.executable path in PlotPowerSpectra because of spaces in name
Browse files Browse the repository at this point in the history
Without it, t the following error is produced on Windows:

'c:\program' is not recognized as an internal or external command,
operable program or batch file.
  • Loading branch information
dzenanz committed Dec 8, 2021
1 parent c8cfa70 commit 4167992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/PlotPowerSpectra.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"outputs": [],
"source": [
"import sys\n",
"!{sys.executable} -m pip install itk matplotlib scipy numpy"
"!\"{sys.executable}\" -m pip install itk matplotlib scipy numpy"
]
},
{
Expand Down

0 comments on commit 4167992

Please sign in to comment.