File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change 28
28
_log .addHandler (handler )
29
29
30
30
31
- def _check_install_compatibilitites ():
32
- try :
33
- import theano
34
-
35
- _log .warning (
36
- "!" * 60
37
- + f"\n Your Python environment has Theano(-PyMC) { theano .__version__ } installed, "
38
- + f"but you are importing PyMC { __version__ } which uses Aesara as its backend."
39
- + f"\n For PyMC { __version__ } to work as expected you should uninstall Theano(-PyMC)."
40
- + "\n See https://github.com/pymc-devs/pymc/wiki for update instructions.\n "
41
- + "!" * 60
42
- )
43
- except ImportError :
44
- pass
45
-
46
- try :
47
- import pymc3
48
-
49
- _log .warning (
50
- "!" * 60
51
- + f"\n You are importing PyMC { __version__ } , but your environment also has"
52
- + f" the legacy version PyMC3 { pymc3 .__version__ } installed."
53
- + f"\n For PyMC { __version__ } to work as expected you should uninstall PyMC3."
54
- + "\n See https://github.com/pymc-devs/pymc/wiki for update instructions.\n "
55
- + "!" * 60
56
- )
57
- except ImportError :
58
- pass
59
-
60
-
61
- _check_install_compatibilitites ()
62
-
63
-
64
31
def __set_compiler_flags ():
65
32
# Workarounds for Aesara compiler problems on various platforms
66
33
import aesara
You can’t perform that action at this time.
0 commit comments