Answer a question

I keep on getting error message:

Available subcommands: 1.0.0
Jupyter command `jupyter-nbconvert` not found.

I've tried to reinstall nbconvert using pip to no use. I've also tried the tip from this thread with installing pip install jupyter in vscode terminal but it shows that "Requirement already satisfied" VSCode fails to export jupyter notebook to html

I've also tried to manually edit jupyter settings.json file to the following:

"python.pythonPath": "C:\\Users\\XYZ\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python39\\Scripts"

I've python 3.9 installed via windows store. Any tip on what might be the issue for vscode doesn't want to export the notebook?

Answers

Unsure exactly what fixed the issue but heres a summary.

  1. Updated to python 3.10
  2. Installed pandoc and miktex
  3. Powershell reinstall nbconvert
  • Received warning that nbconvert script file is installed in a location not in Path.
  • Copied said location to System Properties - Envionment Variables - Path
  1. Restart and install all miktex package on the go

PDF export and HTML export seems to work as intended now.

Logo

开发云社区提供前沿行业资讯和优质的学习知识,同时提供优质稳定、价格优惠的云主机、数据库、网络、云储存等云服务产品

更多推荐