Перейти к содержимому

Python modify setup что делать

  • автор:

How to get rid of repetitive 'Modify Setup' pop-ups when using Jupyter notebooks in VS Code?

Lately, I’ve been running some Jupyter notebooks in VS Code, and I’ve been encountering a strange issue: whenever I open such a file, I am bombarded with pop-ups that look like this:

enter image description here

Sometimes a few will pop up; other times it can be upwards of 10 pop-ups. What’s bizarre about this is that I already have my VS Code set up properly, and I can run my Jupyter notebooks just fine. I’ve tried selecting the ‘Modify’ option and going with the default selections just to make it go away, but no dice. How do I prevent these annoying pop-ups?

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

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

Python Modify Setup is opened when starting VS Code #10975

Python Modify Setup is opened when starting VS Code #10975

Comments

Issue Type: Bug

When starting VSCode, Python extention loading starts. Shortly afterwards, Python Modify/Repair/Unintall pops up. This is uncalled for. Please disable it.

VS Code version: Code 1.43.2 (0ba0ca52957102ca3527cf479571617f0de6ed50, 2020-03-24T07:38:38.248Z)
OS version: Windows_NT x64 10.0.18362

The text was updated successfully, but these errors were encountered:

settings.json doesnt contain the Python Path, but empty brackets:

Running the Python executable opens the Python Conlose, but doesn’t trigger the setup window.

@pypelyne, please provide the contents of your workspace settings.json. Also, what is the Python executable you are using?

There’s a lot of different settings.json Files. Which one do you mean? How do I access it?

I’m using the Python executable of Python 3.7.7 in %Appdata%/Roaming/.

In your workspace root directory look for the .vscode directory. In there you will find your workspace settings.json. You can also access it by typing <ctrl>-, in VS Code, clikcing on «Workspace», and then clicking on the «Open Settings (JSON)» icon in the top-right corner.

In .vscode of the working directory, there is:

@pypelyne, what happens when you run » %Appdata%\\Local\\Programs\\Python\\Python37\\python.exe» manually? Also, please provide the content of your «Python» output panel. Thanks!

Running Python.exe manually opens the default Python Console. Do you need a screenshot?

Python Output Panel content is attached
output_panel.txt

@pypelyne, thanks for that info. I don’t see anything out of the ordinary in those logs. In your original message you said «Python Modify/Repair/Unintall pops up». Was that a notification box in the bottom right corner of VS Code? Is so, it should indicate the source of the message. If it came from the Python extension then it will say so. Please indicate what is said.

Also, in your original message it says you have 2 «python» extensions installed. This may be a source of problems. Do you have the problem if you disable the other extension («python | tht | 0.2.3»)?

DIsabling the other extention didn’t make any difference.
The notification box is the same that pops up when you try to uninstall python. It does not appear inside visual studio, but it is a sperate window.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *