Skip to content

Commit 317a804

Browse files
mrava87cako
andauthored
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 <[email protected]>
1 parent d832ec6 commit 317a804

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/source/installation.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,25 @@ You may need to set the environment variable ``NUMBA_NUM_THREADS`` define how ma
437437
It can also be checked dynamically with ``numba.config.NUMBA_DEFAULT_NUM_THREADS``.
438438

439439

440+
PyMC and PyTensor
441+
-----------------
442+
`PyTensor <https://pytensor.readthedocs.io/en/latest/>`_ is used to allow seamless integration between PyLops and
443+
`PyMC <https://www.pymc.io/welcome.html>`_ operators.
444+
Install both of them via ``conda`` with:
445+
446+
.. code-block:: bash
447+
448+
conda install -c conda-forge pytensor pymc
449+
450+
or via ``pip`` with
451+
452+
.. code-block:: bash
453+
454+
>> pip install pytensor pymc
455+
456+
.. note::
457+
PyTensor does not support NumPy 2 yet, so make sure you use NumPy 1.x with PyTensor and PyMC.
458+
440459
PyWavelets
441460
----------
442461
`PyWavelets <https://pywavelets.readthedocs.io/en/latest/>`_ is used to implement the wavelet operators.

0 commit comments

Comments
 (0)