🍺 Homebrew tap for QuantStack packages
Add this tap to your Homebrew installation via:
brew tap matteosecli/quantstackAfter having added this tap, you can install the package you want via:
brew install matteosecli/quantstack/<package>or (only if <package> is not already in some other tap)
brew install <package>To install xeus-cling, use:
brew install xeus-clingTo install xtensor, use:
brew install matteosecli/quantstack/xtensorxtensor or xsimd via brew install xtensor|xsimd, you have to always specify the matteosecli/quantstack/ bit! Otherwise, those packages get installed from homebrew/core and mess up with this tap.
To install xwidgets, use:
brew install xwidgetsNote that in order to actually use xwidgets in Jupyter, you have to install the corresponding front-end extension in Jupyter itself; the xwidgets package does not install Jupyter, but it tries to install a Jupyter Classic Notebook front-end extension that another or a future installation of Jupyter can find.
It's highly recommended that you install Jupyter as well, e.g. via Homebrew:
brew install jupyterlaband check that the command jupyter nbextension list outputs somethink like (assuming that Homebrew links in /usr/local/):
$ jupyter nbextension list
Known nbextensions:
[...]
config dir: /usr/local/etc/jupyter/nbconfig
notebook section
jupyter-js-widgets/extension enabled
- Validating: OK
[...]If that's not the case, you have to manually install the extension (use brew info xwidgets for instructions).
If instead you already have jupyter-js-widgets/extension enabled in your Jupyter because maybe you already use something like ipywidgets in Classic Notebook, then you should be set-up as well and you can ignore the brew link warnings about the extension files.
If instead you prefer JupyterLab over Classic Notebook, install the "@jupyter-widgets/jupyterlab-manager" extension in JupyterLab's graphical extension manager or via the command line:
jupyter labextension install @jupyter-widgets/jupyterlab-manager- Since I do not provide bottles, things are installed from source. That could take a while.
- If you want to avoid messing up with packages from other taps, always install via
brew install matteosecli/quantstack/<package>