question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bambi and PyMC 4 compatibility

See original GitHub issue

I am using PyMC 4.2, and while trying to install bambi (using conda) it is trying to install pymc3 and theano:

The following NEW packages will be INSTALLED:

  bambi              conda-forge/label/cf202003/noarch::bambi-0.1.5-py_1
  bottleneck         pkgs/main/win-64::bottleneck-1.3.5-py310h9128911_0
  dill               pkgs/main/noarch::dill-0.3.4-pyhd3eb1b0_0
  fftw               pkgs/main/win-64::fftw-3.3.9-h2bbff1b_1
  icc_rt             pkgs/main/win-64::icc_rt-2022.1.0-h6049295_2
  mkl_fft            pkgs/main/win-64::mkl_fft-1.3.1-py310ha0764ea_0
  mkl_random         pkgs/main/win-64::mkl_random-1.2.2-py310h4ed8f06_0
  numexpr            pkgs/main/win-64::numexpr-2.8.3-py310hb57aa6b_0
  numpy-base         pkgs/main/win-64::numpy-base-1.21.5-py310h206c741_3
  pymc3              pkgs/main/win-64::pymc3-3.11.4-py310haa95532_0
  semver             conda-forge/label/cf202003/noarch::semver-2.9.1-py_0
  statsmodels        pkgs/main/win-64::statsmodels-0.13.2-py310h2bbff1b_0
  theano-pymc        pkgs/main/win-64::theano-pymc-1.1.2-py310h4ed8f06_0

Since I didn’t want to break my installation of PyMC 4.2 I cancelled bambi install. Is there a plan to update bambi for pymc 4? https://www.pymc.io/blog/v4_announcement.html

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
kuvychkocommented, Oct 17, 2022

@tomicapretto - thank you for your help! 👍

1reaction
kuvychkocommented, Oct 17, 2022

I am running Python 3.9. I just tried installing via pip and it worked (I also checked that I can import bambi): Successfully installed bambi-0.9.1 formulae-0.3.4 numpy-1.21.6

It looks like this is only an issue when installing via conda.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PyMC Developers auf Twitter: „Bambi, the high-level interface ...
Bambi, the high-level interface to build hierarchical generalized linear models with a single line of code is now also compatible with 4.0 https://pypi.org/ ......
Read more >
A Simple Interface for Fitting Bayesian Linear Models in Python
Here we introduce an open source Python package named Bambi. (BAyesian Model Building Interface) that is built on top of the PyMC probabilistic...
Read more >
(Generalized) Linear and Hierarchical Linear Models in PyMC3
We construct a model using Bambi(it uses formula based input), If no priors are given explicitly by the user, then Bambi chooses smart...
Read more >
Source code for bambi.models
Defaults to 5 for Normal models and 1 for non-Normal models. ... _backend_name = backend def _build(self, backend="pymc"): """Set up the model for...
Read more >
Applied Bayesian Inference with PyMC3 and Bambi Part 3
We'll attempt to model the posterior of Streams for each song based on features related of each song (Danceability, Artist Followers, etc.) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found