Markdown-preview-enhanced: vs code下所有的code chunk不能运行

Created on 20 Jan 2018  ·  5Comments  ·  Source: shd101wyy/markdown-preview-enhanced

我试了matplotlib, plotly都不行,python、node.js均已经安装,用官方文档给的例子测试均不通过

All 5 comments

来张截图?还有你是怎么运行 code chunk 的呢?shift enter 了吗?

截图如下,你看看
image

@shd101wyy 还有,交个朋友如何,特别佩服你,我也可以跟着你玩玩 micromsg: fuyingfy

另:python装的最新的2.7,matplotlib已经安装成功

还有:
image
当然,这些都是用了这个命令的:
image

可能是 windows 的缘故,找时间我看看。谢谢。

I would say, you may need to add the following setting in VS Code settings.json file to enable the script execution

"markdown-preview-enhanced.enableScriptExecution": true

Then you can press Ctrl-Alt-Enter to run all scripts in the *.md file.

Is the directory of your Python interpreter added to PATH Variable?
how to add Windows path environment variable

Was this page helpful?
0 / 5 - 0 ratings

Related issues

abhayghatpande picture abhayghatpande  ·  5Comments

saeidamiri1 picture saeidamiri1  ·  3Comments

franklin373 picture franklin373  ·  4Comments

metheoryt picture metheoryt  ·  6Comments

adamaltmejd picture adamaltmejd  ·  5Comments