victor-shelepen
victor-shelepen2mo ago

Deno jupyter installation fails

Hello. I am new to Deno. I am installing the Jupyter deno kernel and I fail with the following error. It looks childish. This command is from the official deno documentation. I’ve not found a solution on the internet for it. I understand that I need to disable the security option manually. But what exactly should I disable to install the Jupiter? Regards.
No description
3 Replies
victor-shelepen
victor-shelepen2mo ago
I've found a variant deno jupyter --install --unstable-ffi --unstable-fs But it does not work for me https://github.com/denoland/deno/issues/22508
GitHub
jupyter deno notebook - ffi issue · Issue #22508 · denoland/deno
~/poc-data-visualization$ docker-compose exec -T jupyter_deno bash -c "source ~/.bashrc && deno --version" deno 1.40.5 (release, x86_64-unknown-linux-gnu) v8 12.1.285.27 typescrip...
Deno AI Helper
Deno AI Helper2mo ago
Hello! I'm sorry to hear that you're having trouble installing the Jupyter Deno kernel. Unfortunately, I wasn't able to find the answer to your question in the official Deno documentation. From your message, it seems like you're encountering a security-related error during the installation process. Deno is secure by default, which means that you might need to grant explicit permissions for certain actions when running scripts. Without the specific error message or the command you're using, I can't provide a precise solution. However, if the installation requires file system access, network access, or environment variable access, you might need to use flags like --allow-read, --allow-write, --allow-net, or --allow-env when running the installation command. Please note that this advice is not based on the Deno documentation, and I would advise you to double-check the accuracy of the advice given. It's important to use these permissions flags carefully, as they can expose your system to potential security risks. Always ensure that you trust the code you're granting permissions to. If you provide the specific error message or the command that's failing, I might be able to offer more targeted advice. Otherwise, you may want to check the repository or documentation for the Jupyter Deno kernel for more detailed installation instructions and troubleshooting steps.
victor-shelepen
victor-shelepen2mo ago
It works with a downgraded version. I've installed version 1.37 which is mentioned in the official blog article https://deno.com/blog/v1.37
Deno Blog
Deno 1.37: Modern JavaScript in Jupyter Notebooks
Deno 1.37 ships with a Jupyter notebook integration and improved VSCode and LSP features.