Coder Social home page Coder Social logo

Comments (13)

fyang93 avatar fyang93 commented on May 27, 2024

Well, I find the solution is actually using Python extension solely, without Jupyter.

from vscodejupyter.

DonJayamanne avatar DonJayamanne commented on May 27, 2024

What version of python are you using?
What version of Jupyter are you using?
Please upload contents of your user and workspace settings.json file.

from vscodejupyter.

fyang93 avatar fyang93 commented on May 27, 2024

There were nothing related to python or jupyter in my user settings.json file. And I didn't use a workspace settings.json file. The content in user settings.json is shown as follows:

// Place your settings in this file to overwrite the default settings
{
    "editor.fontFamily": "Consolas, microsoft yahei",

    "files.associations": {
        "*.m": "matlab"
    },

    "editor.wordWrap": "on",

    // "terminal.integrated.shell.windows": "C:\\WINDOWS\\Sysnative\\bash.exe",

    // Port number to use for connection.
    "remote.port": 52698,

    // Launch the server on start up.
    "remote.onstartup": true
}

from vscodejupyter.

puma007 avatar puma007 commented on May 27, 2024

When I click "run cell" link in vs code,it prompts “start a new notebook or select an existing notebook”. If i click the "start a new notebook" link,the Cpu occupancy rate will reach 99%, and start a lot of python threads!

from vscodejupyter.

DonJayamanne avatar DonJayamanne commented on May 27, 2024

@dangoron
What version of python are you using?
What version of Jupyter are you using?

from vscodejupyter.

DonJayamanne avatar DonJayamanne commented on May 27, 2024

@puma007
What version of python are you using?
What version of Jupyter are you using?

from vscodejupyter.

puma007 avatar puma007 commented on May 27, 2024

@DonJayamanne
OS Name: Microsoft Windows 10 pro
OS Version: 10.0.14393 N/A Build 14393
VS Code version:1.11.2
python version : 3.5
Jupyter vesion :
jupyter (1.0.0)
jupyter-client (5.0.1)
jupyter-console (5.1.0)
jupyter-core (4.3.0)

from vscodejupyter.

fyang93 avatar fyang93 commented on May 27, 2024

@DonJayamanne
Please see the environment data part in the first comment, I have already edited that :)

from vscodejupyter.

zengjie avatar zengjie commented on May 27, 2024

@DonJayamanne
Python version: 2.7.13
OS: macOS 10.12.4
Jupyter versions:
jupyter==1.0.0
jupyter-client==5.0.1
jupyter-console==5.1.0
jupyter-core==4.3.0
jupyter-kernel-gateway==0.5.0
jupyterlab==0.5.0

from vscodejupyter.

DonJayamanne avatar DonJayamanne commented on May 27, 2024

@dangoron @zengjie @puma007
Hi everyone, please could you test the latest version. Hopefully this has been fixed.

from vscodejupyter.

puma007 avatar puma007 commented on May 27, 2024

@DonJayamanne Cpu occupancy rate normal!But when i click "run cell"link, and then select "start a new book",there is still error "Failed to detect Jupyter Notebook. Please use 'Select Jupyter Notebook' command"

from vscodejupyter.

DonJayamanne avatar DonJayamanne commented on May 27, 2024

@puma007 what's the out put in the Jupyter out put panel in vscode? Also are there any other errors in the console log (help -> developer tools , console tab)

from vscodejupyter.

puma007 avatar puma007 commented on May 27, 2024

@DonJayamanne the console output the log:

[Extension Host] [C:\Users\foxhu.vscode\extensions\donjayamanne.python-0.6.3]: 命令“jupyter.execCurrentCell”多次出现在“命令”部分。
extensionHost.ts:284[Extension Host] [C:\Users\foxhu.vscode\extensions\donjayamanne.python-0.6.3]: 命令“jupyter.execCurrentCellAndAdvance”多次出现在“命令”部分。
extensionHost.ts:284[Extension Host] [C:\Users\foxhu.vscode\extensions\donjayamanne.python-0.6.3]: 命令“jupyter.gotToPreviousCell”多次出现在“命令”部分。
extensionHost.ts:284[Extension Host] [C:\Users\foxhu.vscode\extensions\donjayamanne.python-0.6.3]: 命令“jupyter.gotToNextCell”多次出现在“命令”部分。
extensionHost.ts:284[Extension Host] vscode-icons is active!
messageService.ts:126 Failed to detect Jupyter Notebook. Please use 'Select Jupyter Notebook' commande.doShow @ messageService.ts:126e.show @ messageService.ts:105(anonymous function) @ mainThreadMessageService.ts:64n.Class.derive._oncancel @ winjs.base.raw.js:1641t.showMessage @ mainThreadMessageService.ts:34t.$showMessage @ mainThreadMessageService.ts:28e.handle @ abstractThreadService.ts:34s @ ipcRemoteCom.ts:275f @ ipcRemoteCom.ts:231_combinedTickCallback @ internal/process/next_tick.js:67_tickCallback @ internal/process/next_tick.js:98
extensionHost.ts:284 [Extension Host] rejected promise not handled within 1 second
shell.ts:475 Failed to detect Jupyter Notebook. Please use 'Select Jupyter Notebook' command

from vscodejupyter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.