Installation#
Installing PyMC-Marketing#
PyMC-Marketing requires Python 3.10 or greater.
Install the pymc-marketing package with pip:
pip install pymc-marketing
You can also install the development version of PyMC-Marketing with:
pip install git+https://github.com/pymc-labs/pymc-marketing.git
Next, you can create a new Jupyter notebook with either JupyterLab or VS Code.
JupyterLab Notebook#
After installing the pymc-marketing package, install JupyterLab and launch it:
pip install jupyterlab
jupyter lab
VS Code Notebook#
After installing the pymc-marketing package, install ipykernel:
pip install ipykernel
Start VS Code and ensure that the “Jupyter” extension is installed. Press Ctrl + Shift + P and type “Python: Select Interpreter”. Press Ctrl + Shift + P and type “Create: New Jupyter Notebook”.
Installation for developers#
If you are a developer of pymc-marketing, or want to start contributing, refer to the contributing guide to get started.
See the official PyMC installation guide if more detail is needed.