Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode doesn't recognize python cells - CVE instead

I try to run a notebook with the .ipynb extension, and the Jupyter notebook doesn't allow me to convert the cell to Python. When I click on the language button in the right-down corner, Python is on the list but it converts it automatically to CVE.
What does this even mean? And how I can change it to Python?

Here is what appears to me:

here

And when I click on it, I got the following:

here

like image 469
Nisan Dalva Avatar asked Oct 17 '25 11:10

Nisan Dalva


1 Answers

I had the same problem and solved it as following:

Reason for the issue

There seems to be an issue between the Jupyter Notebook extension and the Dependency Analytics extension. (See https://github.com/microsoft/vscode-jupyter/issues/7917, Answer from rchiodo )

Solution

I went to extensions ( in VS-Code ) and deactivated the Dependeny Analytics extension. After restarting VS-Code I was able to set python as the cell language

like image 83
Sam Avatar answered Oct 20 '25 00:10

Sam



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!