Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

jupyter pyscript install writing to /usr/local/share #584

Unanswered
stewartoallen asked this question in General
Discussion options

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?

You must be logged in to vote

Replies: 1 comment

Comment options

What's the output from jupyter kernelspec list?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /