Closed nattanyz closed 3 years ago
Hello, @nattanyz!
As I see, you don't have enough permissions to install the package
Could not install packages due to an OSError: [Errno 13] Permission denied
Try --user
option as PIP suggested:
pip3 install --user kotlin-jupyter-kernel==0.10.0.40
Then fix the location:
python -m kotlin_kernel fix-kernelspec-location
Another possible fix: try to install the package with sudo
:
sudo pip3 install kotlin-jupyter-kernel==0.10.0.40
Hey, thanks and sorry for the late reply! Haven't been able to revisit this in a while.
sudo
installing the package worked - thanks :)
Hi, I am not able to use the Kotlin kernel after installing both it and Jupyter using
pip3
. I have also tried thefix-kernelspec-location
script:To reproduce the error:
jupyter lab
.Any help is appreciated! I'm fairly new to setting up Python environments and have gotten myself confused with Anaconda, virtual environments and the like before, so I'm opting to keep things simple using just
pip3
for now.Here's more explanation of my installation process: While installing Jupyter using
pip3 install jupyter
, I encountered the following error at the end:Googling this error did not provide any hints. I then ran
pip3 install jupyterlab
. At this point, tryingjupyter lab
produced this error:'ExtensionManager' object has no attribute '_extensions'
, which I surmise is linked to this issue: https://github.com/jupyterlab/jupyterlab/issues/10228 I tried the fix on that page, i.e.jupyter server extension disable nbclassic
. Next, I uninstalled and reinstalled the Kotlin kernel usingpip3 uninstall kotlin-jupyter-kernel
followed bypip3 install kotlin-jupyter-kernel
. Below is the output:Thank you!