Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unwanted message asking to install Python when I am not using python #4965

Closed
KwokQPhan opened this issue Feb 26, 2021 · 2 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@KwokQPhan
Copy link

Environment data

  • VS Code version: 1.54-Insider
  • Jupyter Extension version (available under the Extensions sidebar): Marketplace
  • Python Extension version (available under the Extensions sidebar): No
  • OS (Windows | Mac | Linux distro) and version: Windows 10
  • Python and/or Anaconda version: No
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): No
  • Jupyter server running: No

Expected behaviour

No message to install Python.
Is this Python extension or Jupyter?

Actual behaviour

When I create new Notebook I am asked to install Python, why?
Install Julia Extension
I am asked to install Python?
All in my company gets same message, in SSH worse, always asked to install python.

Why not ask when I try to run a Python notebook instead, I do not have Python install, why ask

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. XXX

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

@KwokQPhan KwokQPhan added the bug Issue identified by VS Code Team member as probable bug label Feb 26, 2021
@DonJayamanne
Copy link
Contributor

Thanks for filing this issue,
I believe I know what is going on here. We should be able to address this fairly easily.

@joyceerhl
Copy link
Contributor

Validated. Without the Python extension and an updated build of the Jupyter extension, if I open a blank notebook I do not get a prompt to install the Python extension.

DonJayamanne added a commit that referenced this issue Mar 18, 2021
DonJayamanne added a commit that referenced this issue Mar 19, 2021
For #4965
If you have a notebook with metadata that has a language of python, but no kernel information, we still prompt to install Python.
Not sure how users can create such notebooks, in our extension users can create such notebooks because we always default language to python for blank notebooks.
This ensures we don't display prompts if there is no kernel information.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

3 participants