-
Notifications
You must be signed in to change notification settings - Fork 58
jupyter pyscript install
writing to /usr/local/share
#584
Unanswered
stewartoallen
asked this question in
General
-
my hass + hacs instance is running in docker on a PI. but my dev machine is a mac. I've created a venv and
pip install hass_pyscript_kernel
succeeds, but
jupyter pyscript install
fails with the error:
Traceback (most recent call last):
File "/Users/stewart/Code/hass-jupyter/venv/bin/jupyter-pyscript", line 8, in <module>
sys.exit(install_main())
^^^^^^^^^^^^^^
File "/Users/stewart/Code/hass-jupyter/venv/lib/python3.11/site-packages/hass_pyscript_kernel/install.py", line 86, in install_main
install(target_dir, args.kernel_name)
File "/Users/stewart/Code/hass-jupyter/venv/lib/python3.11/site-packages/hass_pyscript_kernel/install.py", line 25, in install
os.makedirs(target_dir, exist_ok=True)
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 225, in makedirs
PermissionError: [Errno 13] Permission denied: '/usr/local/share'
why is this trying to write to /usr/local/share
?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
What's the output from jupyter kernelspec list
?
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment