Is it a python file you're trying to run?
In terminal what does jupiter kernelspec list —json
give you? If you open a Jupiter notebook can you open a python notebook and run that in a kernel? In terminal jupyter notebook
, then select python from new on top left of home page of jupyter.
Is the grammar for that file python or do you have magic python or something else installed? If there is a different grammar you will need to map in hydrogen settings, eg for magic python: {“python”: “magicpython”}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.