You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Ryan Williams (JIRA)" <ji...@apache.org> on 2016/07/21 18:16:20 UTC
[jira] [Created] (TOREE-330) Install to non-/usr/local/share
location
Ryan Williams created TOREE-330:
-----------------------------------
Summary: Install to non-/usr/local/share location
Key: TOREE-330
URL: https://issues.apache.org/jira/browse/TOREE-330
Project: TOREE
Issue Type: Bug
Affects Versions: 0.1.0
Reporter: Ryan Williams
{code}
$ pip install toree
…
$ jupyter toree install --spark_home=…
…
[ToreeInstall] Creating kernel Scala
Traceback (most recent call last):
File "/path/to/homedir/.local/bin/jupyter-toree", line 9, in <module>
load_entry_point('toree==0.1.0.dev8', 'console_scripts', 'jupyter-toree')()
File "/path/to/homedir/.local/lib/python2.7/site-packages/toree/toreeapp.py", line 167, in main
ToreeApp.launch_instance()
File "/path/to/homedir/.local/lib/python2.7/site-packages/traitlets/config/application.py", line 596, in launch_instance
app.start()
File "/path/to/homedir/.local/lib/python2.7/site-packages/toree/toreeapp.py", line 164, in start
return self.subapp.start()
File "/path/to/homedir/.local/lib/python2.7/site-packages/toree/toreeapp.py", line 131, in start
replace=self.replace
File "/path/to/homedir/.local/lib/python2.7/site-packages/jupyter_client/kernelspec.py", line 269, in install_kernel_spec
shutil.copytree(source_dir, destination)
File "/path/to/homedir/.local/lib/python2.7/shutil.py", line 177, in copytree
os.makedirs(dst)
File "/path/to/homedir/.local/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/path/to/homedir/.local/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/path/to/homedir/.local/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/share/jupyter'
{code}
I don't have permissions to {{/usr/local/share}} on this system; how can I reconfigure toree to point elsewhere?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)