Skip to content

Add prominent warnings about having theano/pymc3 installed in parallel#5036

Merged
twiecki merged 2 commits intopymc-devs:mainfrom
michaelosthege:add-pymc3-import-warning
Sep 30, 2021
Merged

Add prominent warnings about having theano/pymc3 installed in parallel#5036
twiecki merged 2 commits intopymc-devs:mainfrom
michaelosthege:add-pymc3-import-warning

Conversation

@michaelosthege
Copy link
Copy Markdown
Member

This is similar to 33c0e35.

Example output:

(pm3v4) E:\Repos\pm3v4>python -c "import pymc"
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Your Python environment has Theano(-PyMC) 1.1.2 installed, but you are importing PyMC 4.0.0 which uses Aesara as its backend.
For PyMC 4.0.0 to work as expected you should uninstall Theano(-PyMC).
See https://github.com/pymc-devs/pymc3/wiki for installation instructions.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You are importing PyMC 4.0.0, but your environment also has the legacy version PyMC3 3.11.4 installed.
For PyMC 4.0.0 to work as expected you should uninstall PyMC3.
See https://github.com/pymc-devs/pymc3/wiki for installation instructions.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You are running the v4 development version of PyMC which currently still lacks key features. You probably want to use the stable v3 instead which you can either install via conda or find on the v3 GitHub branch: https://github.com/pymc-devs/pymc/tree/v3

@michaelosthege michaelosthege added maintenance installation issues about dependencies or installation labels Sep 29, 2021
@michaelosthege michaelosthege added this to the vNext (4.0.0-alpha) milestone Sep 29, 2021
@michaelosthege michaelosthege self-assigned this Sep 29, 2021
Co-authored-by: Thomas Wiecki <thomas.wiecki@gmail.com>
@twiecki twiecki merged commit e78e655 into pymc-devs:main Sep 30, 2021
@michaelosthege michaelosthege deleted the add-pymc3-import-warning branch September 30, 2021 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

installation issues about dependencies or installation maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants