Upgrade backend to PYMC v4.0.0
See original GitHub issueUpgraded PYMC to v4.0.0 with the Aesara backend. This is now at odds with the PYMC v3 that bambi requires:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Your Python environment has Theano(-PyMC) 1.1.2 installed, but you are importing PyMC 4.0.0b1 which uses Aesara as its backend.
For PyMC 4.0.0b1 to work as expected you should uninstall Theano(-PyMC).
See https://github.com/pymc-devs/pymc/wiki for update instructions.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You are importing PyMC 4.0.0b1, but your environment also has the legacy version PyMC3 3.11.4 installed.
For PyMC 4.0.0b1 to work as expected you should uninstall PyMC3.
See https://github.com/pymc-devs/pymc/wiki for update instructions.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top Results From Across the Web
The Quickest Migration Guide Ever from PyMC3 to PyMC v4.0
The Quickest Migration Guide Ever from PyMC3 to PyMC v4.0. Discover how few changes are needed to upgrade to PyMC v4.0!
Read more >PyMC 4.0 Release Announcement
Every user should upgrade, as there are many exciting new updates that ... By far the most shiny new feature is the new...
Read more >Update Docker image to v4 #5323 - pymc-devs/pymc - GitHub
1. Install docker image. 1.1. Pull image from docker hub. docker pull danhphan/pymc:v4.0.0b6 ...
Read more >PyMC Developers on Twitter: "We are very excited to ...
We are very excited to announce the release of the PyMC 4.0 beta. What's new? So many things, which we will talk about...
Read more >PyMC3 MCMC performance with and without Theano's ...
Update with addition of PyMC v4: PyMC v4 samples faster during both the tuning and sampling stages of MCMC. In addition, version 4...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@nikisix if you use both Bambi and PyMC and want to use PyMC v4, I would recommend having them in different environments. The released version of PyMC v4 is a beta release. I think we’re going to move to PyMC v4 once it launches a stable release.
It was a problem with the new release of NumPy (1.22.0). I updated
requirements.txt
to force NumPy < 1.22.0