monroews / CEE4530

MIT License
4 stars 11 forks source link

python won't run - preview must be open? #119

Open caj92 opened 5 years ago

caj92 commented 5 years ago

With the markdown preview enhanced package enabled and installed, my python code will not run. It displays the message below: image However, when I open the preview, it won't let me run anything either. In order to run python I have to disable the preview package every time. Is this what is happening to everyone else?

monroews commented 5 years ago

What exactly do you do when you get this error message? Do you enter a specific key sequence to tell the python code to execute? Where is your cursor when you execute the command?

caj92 commented 5 years ago

This error occurs when I hit "shift-enter" which is how i run my codes. It happens when my cursor is at the end or the beginning of the line.

monroews commented 5 years ago

@hannahsi could you help Catherine debug her atom environment?

HannahSi commented 5 years ago

@caj92 It might be that the "shift-enter" shortcut is calling a command for the Markdown Preview Enhanced package instead of Hydrodgen. Does the same problem occur if you use "cmd-enter" or "ctrl-enter"?