From 317a80467bf66916e0a112e9f2aabcf453911fae Mon Sep 17 00:00:00 2001 From: Matteo Ravasi Date: Thu, 21 Nov 2024 07:52:03 +0300 Subject: [PATCH] doc: added info to install pytensor and pymc (#623) * doc: added info to install pytensor and pymc * minor: fix typo * fix: add a note about numpy version --------- Co-authored-by: Carlos da Costa --- docs/source/installation.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 094f09bd..800b1092 100755 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -437,6 +437,25 @@ You may need to set the environment variable ``NUMBA_NUM_THREADS`` define how ma It can also be checked dynamically with ``numba.config.NUMBA_DEFAULT_NUM_THREADS``. +PyMC and PyTensor +----------------- +`PyTensor `_ is used to allow seamless integration between PyLops and +`PyMC `_ operators. +Install both of them via ``conda`` with: + +.. code-block:: bash + + conda install -c conda-forge pytensor pymc + +or via ``pip`` with + +.. code-block:: bash + + >> pip install pytensor pymc + +.. note:: + PyTensor does not support NumPy 2 yet, so make sure you use NumPy 1.x with PyTensor and PyMC. + PyWavelets ---------- `PyWavelets `_ is used to implement the wavelet operators.