I have a ipynb file (a jupyter notebook) which I am opening in vscode with python extension. I receive the error in the title
Unexpected token # in JSON at position 0
which I dont understand at all, since the file is supposed to be interpreted as a python file.
I can change the extension to .py and its opened fine by vscode, but I dont have the decorators to run/debug cells like define here (https://code.visualstudio.com/docs/python/jupyter-support-py).
I know the file is correct because I have use it in another vscode installation in another computer and works fine.
I have no idea what might be misconfigured in my environment... Any tops would be really helpful.
Here is the actual python code I have that its producing the mentioned error my actual environment.
issue.ipynb
# %%
import world as w
import world_eg as weg
import world_case1 as wc1
import simulator_static as simulation
import numpy as np
from scipy.optimize import minimize
import matplotlib.pyplot as plt```
From the error, I understand that is parsing the file as a JSON file and the first line, which contains the #, fails.

