Previously I had python running just fine in VSCode but recently something has gone wrong and I'm not sure how to resolve it.
When I open a .py file (downloaded from an email) in VSCode I get a message saying that this source is not trusted. I then followed through the suggestions and made the file trusted and I get a box saying that all extensions are enabled. However, when I try and run it, the box is still blurred out
This is the error I get when I try and run the whole file, not just the cell.
Does someone know how to get this up and running first? Thanks
CodePudding user response:
See the comment and say it is .ipynb file, you only need to enter the trusted file name on the command line of Jupiter notebook "$ jupyter trust 'filename'.ipynb" This is a link to instructions:https://jupyter-notebook.readthedocs.io/en/stable/notebook.html#trusting-notebooks