Extension is returning "r.stat is not a function" when starting a Jupyter notebook
See original GitHub issueBug: Notebook Editor, Interactive Window, Editor cells
Steps to cause the bug to occur
This is all I’ve done:
- Opted in run by line experiment and the Insiders build
- Selected a Python 3.8 venv with jupyter installed (Python from Windows store, might be relevant)
- Opened a blank notebook
Actual behavior
Your Jupyter and/or Python environment
Please provide as much info as you readily know
- Jupyter server running: Local
- Extension version: 2020.7.86945-dev
- VS Code version: 1.46.0
- Python and/or Anaconda version: 3.8
- OS: Windows
- Virtual environment: venv
- jupyter --version:
jupyter core : 4.6.3
jupyter-notebook : 6.0.3
qtconsole : 4.7.4
ipython : 7.15.0
ipykernel : 5.3.0
jupyter client : 6.1.3
jupyter lab : not installed
nbconvert : 5.6.1
ipywidgets : 7.5.1
nbformat : 5.0.7
traitlets : 4.3.3
Developer Tools Console Output
Output window
User belongs to experiment group 'RunByLine - experiment'
User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'DebugAdapterFactory - experiment'
User belongs to experiment group 'PtvsdWheels37 - experiment'
User belongs to experiment group 'UseTerminalToGetActivatedEnvVars - control'
User belongs to experiment group 'LocalZMQKernel - control'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'CollectNodeLSRequestTiming - experiment'
User belongs to experiment group 'EnableIPyWidgets - experiment'
User belongs to experiment group 'CustomEditorSupport - control'
> conda --version
> pyenv root
> python3.7 c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3.6 c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3 c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python2 c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> py -3.7 c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> py -3.6 c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> py -3 c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> py -2 c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> conda info --json
> python c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Python interpreter path: .\env38\Scripts\python.exe
Starting Jedi Python language engine.
> conda --version
> ~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import ipykernel"
> ~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import ipykernel"
> ~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import jupyter"
> ~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import jupyter"
> ~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import notebook"
> ~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import notebook"
> c:\Users\luabud\Apps\sample-notebook\env38\Scripts\python.exe c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py -c "import ipykernel"
> ~\AppData\Local\Microsoft\WindowsApps\python.exe c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> ~\AppData\Local\Microsoft\WindowsApps\python.exe c:\Users\luabud\.vscode\extensions\ms-python.python-2020.7.86945-dev\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Developer Tools
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
Four Ways to Extend Jupyter Notebook - Parente's Mindtrove
Writing a Python module that can serve as a kernel extension requires implementing a load_ipython_extension function and optionally implementing ...
Read more >"r.start is not a function" Fermipy Conda Error - Stack Overflow
I've been using the Fermipy conda environment on Python 2.7.14 64-bit on macOS Catalina 10.15.5 and overnight received the error "r.start is not...
Read more >How to use the R programming language in Jupyter Notebook
R is a popular programing language for statistics. This topic explains how to use R in a Jupyter Notebook. Start Navigator. Make sure...
Read more >Setup Jupyter Notebook for R - Refinitiv Developer Community
Jupyter Notebook has kernels which are processes that run interactive code in a particular programming language and return output to the user.
Read more >What to do when things go wrong - The Jupyter Notebook
Try disabling any browser extensions and/or any Jupyter extensions you have installed. Some internet security software can interfere with Jupyter. If you have ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The opt-out works, I just had to put it in the remote machine settings.json, not my local user settings.json. Thanks.
Just as a heads up. We did find a fix for 2.7 with the new method of launching (due mid-July). Should be shipping in our next update. For now the workaround that I provided should unblock things.