Skip to content

Cannot render preview with Julia Kernel #2539

@EvoArt

Description

@EvoArt

Bug description

Hi, I am hitting this error, trying to render a .qmd file, using Quarto in PowerShell (same with VSCode) on Windows 10. I can use the julia-1.7 kernel in jupyter lab, no probs. And I can render a .qmd using the python3 kernel in quarto

 Starting julia-1.7 kernel...Traceback (most recent call last):
   File "C:\Program Files\Quarto\share\jupyter\jupyter.py", line 21, in <module>
     from notebook import notebook_execute, RestartKernel
   File "C:\Program Files\Quarto\share\jupyter\notebook.py", line 17, in <module>
     from nbclient import NotebookClient
   File "C:\Users\arn203\.julia\conda\3\lib\site-packages\nbclient\__init__.py", line 6, in <module>
     from .client import NotebookClient, execute  # noqa: F401
   File "C:\Users\arn203\.julia\conda\3\lib\site-packages\nbclient\client.py", line 14, in <module>
     from jupyter_client import KernelManager
   File "C:\Users\arn203\.julia\conda\3\lib\site-packages\jupyter_client\__init__.py", line 6, in <module>
     from .asynchronous import AsyncKernelClient  # noqa
   File "C:\Users\arn203\.julia\conda\3\lib\site-packages\jupyter_client\asynchronous\__init__.py", line 1, in <module>
     from .client import AsyncKernelClient  # noqa
   File "C:\Users\arn203\.julia\conda\3\lib\site-packages\jupyter_client\asynchronous\client.py", line 6, in <module>
     from jupyter_client.channels import HBChannel
   File "C:\Users\arn203\.julia\conda\3\lib\site-packages\jupyter_client\channels.py", line 12, in <module>
     import zmq.asyncio
   File "C:\Users\arn203\.julia\conda\3\lib\site-packages\zmq\__init__.py", line 103, in <module>
     from zmq import backend
   File "C:\Users\arn203\.julia\conda\3\lib\site-packages\zmq\backend\__init__.py", line 31, in <module>
     raise original_error from None
   File "C:\Users\arn203\.julia\conda\3\lib\site-packages\zmq\backend\__init__.py", line 26, in <module>
     _ns = select_backend(first)
   File "C:\Users\arn203\.julia\conda\3\lib\site-packages\zmq\backend\select.py", line 31, in select_backend
     mod = import_module(name)
   File "C:\Users\arn203\.julia\conda\3\lib\importlib\__init__.py", line 127, in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
   File "C:\Users\arn203\.julia\conda\3\lib\site-packages\zmq\backend\cython\__init__.py", line 6, in <module>
     from . import (
 ImportError: DLL load failed while importing _device: The specified module could not be found.

I'm pretty lost with this at this point! Any help would be much appreciated.

Checklist

  • Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • Please format your issue so it is easier for us to read the bug report.
  • Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • Please document the operating system you're running. If on Linux, please provide the specific distribution.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions