[MacPorts] #54694: ROOT6 pyroot in jupyter notebooks
MacPorts
noreply at macports.org
Tue Sep 5 15:48:33 UTC 2017
#54694: ROOT6 pyroot in jupyter notebooks
-----------------------+--------------------------
Reporter: hansgans | Owner: cjones051073
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: root6 |
-----------------------+--------------------------
Comment (by JoachimRose):
My first post on macports.org. Followed the instructions above. Starting
with a fresh Macports installation
{{{
sudo port install root6 +python35 py35-jupyter
}}}
This worked fine, but then after a new login
{{{
jupyter notebook ./
-bash: jupyter: command not found
root --notebook
Error starting ROOT notebook -- please check that Jupyter is installed
}}}
So both methods of getting a notebook failed. Then added aliases to the
~/.bash_profile
{{{
alias jupyter='/opt/local/bin/jupyter-3.5'
alias jupyter-notebook='/opt/local/bin/jupyter-notebook-3.5'
}}}
After a new login the first method then works
{{{
jupyter notebook ./
import ROOT
Welcome to JupyROOT 6.10/04
}}}
The second method, root --notebook, still fails. What is needed to also
get the second method, which is more natural for a root6 user, to also
work?
--
Ticket URL: <https://trac.macports.org/ticket/54694#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list