DonJayamanne / vscodeJupyter

Jupyter for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=donjayamanne.jupyter
MIT License
334 stars 34 forks source link

can't run cell: 'KernelSpecManager' object has no attribute 'get_all_specs' #132

Open lion30 opened 5 years ago

lion30 commented 5 years ago

Environment data

VS Code build base on Anaconda VS Code version:1.27.2 Jupyter Extension version: conda: jupyter 1.0.0 py35_6 jupyter-pip 0.3.1 jupyter_client 4.1.1 py35_0 jupyter_console 4.1.0 py35_0 jupyter_core 4.0.6 py35_0 pip: jupyter 1.0.0 jupyter-client 4.1.1 jupyter-console 4.1.0 jupyter-core 4.0.6 jupyter-pip 0.3.1 OS and version: windows7 64bit

Logs

Output from Jupyter output panel

Output from Console window (Help->Developer Tools menu)

Actual behavior

when run sample code: image

then error: image

Error Message: Command: lsks, Id: 3, Python Trace: Traceback (most recent call last):
  File "C:\Users\liwang\.vscode\extensions\donjayamanne.jupyter-1.1.4\python\PythonTools\ipythonServer.py", line 283, in start_processing
    cmd(self, id)
  File "C:\Users\liwang\.vscode\extensions\donjayamanne.jupyter-1.1.4\python\PythonTools\ipythonServer.py", line 354, in _cmd_lstk
    kernelspecs = json.dumps(listKernelSpecs())
  File "C:\Users\liwang\.vscode\extensions\donjayamanne.jupyter-1.1.4\python\PythonTools\ipythonServer.py", line 95, in listKernelSpecs
    return kernelSpecManager.get_all_specs()
AttributeError: 'KernelSpecManager' object has no attribute 'get_all_specs'

Expected behavior

Steps to reproduce:

ahmedaa1 commented 5 years ago

Please unsubscribe


Ahmed AA


From: Leon notifications@github.com Sent: Wednesday, September 19, 2018 3:38:22 AM To: DonJayamanne/vscodeJupyter Cc: Subscribed Subject: [DonJayamanne/vscodeJupyter] can't run cell: 'KernelSpecManager' object has no attribute 'get_all_specs' (#132)

Environment data

VS Code build base on Anaconda VS Code version:1.27.2 Jupyter Extension version: conda: jupyter 1.0.0 py35_6 jupyter-pip 0.3.1 jupyter_client 4.1.1 py35_0 jupyter_console 4.1.0 py35_0 jupyter_core 4.0.6 py35_0 pip: jupyter 1.0.0 jupyter-client 4.1.1 jupyter-console 4.1.0 jupyter-core 4.0.6 jupyter-pip 0.3.1 OS and version: windows7 64bit

Logs

Output from Jupyter output panel

Output from Console window (Help->Developer Tools menu)

Actual behavior

when run sample code: [image]https://user-images.githubusercontent.com/24458140/45727468-6ecbd080-bbf6-11e8-802f-72fab55d1f1e.png

then error: [image]https://user-images.githubusercontent.com/24458140/45727425-48a63080-bbf6-11e8-81f5-a6a6bb675761.png

Error Message: Command: lsks, Id: 3, Python Trace: Traceback (most recent call last): File "C:\Users\liwang.vscode\extensions\donjayamanne.jupyter-1.1.4\python\PythonTools\ipythonServer.py", line 283, in start_processing cmd(self, id) File "C:\Users\liwang.vscode\extensions\donjayamanne.jupyter-1.1.4\python\PythonTools\ipythonServer.py", line 354, in _cmd_lstk kernelspecs = json.dumps(listKernelSpecs()) File "C:\Users\liwang.vscode\extensions\donjayamanne.jupyter-1.1.4\python\PythonTools\ipythonServer.py", line 95, in listKernelSpecs return kernelSpecManager.get_all_specs() AttributeError: 'KernelSpecManager' object has no attribute 'get_all_specs'

Expected behavior Steps to reproduce:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/DonJayamanne/vscodeJupyter/issues/132, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AfdXU9FPsNQs1bw0MT-kSViNePxQKrxiks5uca4egaJpZM4WvTgX.

lion30 commented 5 years ago

Please unsubscribe

@ahmedaa1 excuse me ? sorry I don't understand