I just downloaded pymc3 and tried the linear regression example (example1) for a testdrive.
I ran into a few errors and exceptions that are related to lazylinker. Below are the full error messages. Any insight would be appreciated
ImportError Traceback (most recent call last)
~\Anaconda3\lib\site-packages\theano\gof\lazylinker_c.py in <module>()
80 version,
---> 81 actual_version, force_compile, _need_reload))
82 except ImportError:
ImportError: Version check of the existing lazylinker compiled file. Looking for version 0.211, but found None. Extra debug information: force_compile=False, _need_reload=True
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
~\Anaconda3\lib\site-packages\theano\gof\lazylinker_c.py in <module>()
104 version,
--> 105 actual_version, force_compile, _need_reload))
106 except ImportError:
ImportError: Version check of the existing lazylinker compiled file. Looking for version 0.211, but found None. Extra debug information: force_compile=False, _need_reload=True
During handling of the above exception, another exception occurred:
Exception Traceback (most recent call last)
<ipython-input-3-07cd9aefb74b> in <module>()
----> 1 import pymc3 as pm
2 print('Running on PyMC3 v{}'.format(pm.__version__))
~\Anaconda3\lib\site-packages\pymc3\__init__.py in <module>()
3
4 from .blocking import *
----> 5 from .distributions import *
6 from .external import *
7 from .glm import *
~\Anaconda3\lib\site-packages\pymc3\distributions\__init__.py in <module>()
----> 1 from . import timeseries
2 from . import transforms
3
4 from .continuous import Uniform
5 from .continuous import Flat
~\Anaconda3\lib\site-packages\pymc3\distributions\timeseries.py in <module>()
----> 1 import theano.tensor as tt
2 from theano import scan
3
4 from pymc3.util import get_variable_name
5 from .continuous import get_tau_sd, Normal, Flat
~\Anaconda3\lib\site-packages\theano\__init__.py in <module>()
108 object2, utils)
109
--> 110 from theano.compile import (
111 SymbolicInput, In,
112 SymbolicOutput, Out,
~\Anaconda3\lib\site-packages\theano\compile\__init__.py in <module>()
10 from theano.compile.function_module import *
11
---> 12 from theano.compile.mode import *
13
14 from theano.compile.io import *
~\Anaconda3\lib\site-packages\theano\compile\mode.py in <module>()
9 import theano
10 from theano import gof
---> 11 import theano.gof.vm
12 from theano import config
13 from six import string_types
~\Anaconda3\lib\site-packages\theano\gof\vm.py in <module>()
672 if not theano.config.cxx:
673 raise theano.gof.cmodule.MissingGXX('lazylinker will not be imported if theano.config.cxx is not set.')
--> 674 from . import lazylinker_c
675
676 class CVM(lazylinker_c.CLazyLinker, VM):
~\Anaconda3\lib\site-packages\theano\gof\lazylinker_c.py in <module>()
138 args = cmodule.GCC_compiler.compile_args()
139 cmodule.GCC_compiler.compile_str(dirname, code, location=loc,
--> 140 preargs=args)
141 # Save version into the __init__.py file.
142 init_py = os.path.join(loc, '__init__.py')
~\Anaconda3\lib\site-packages\theano\gof\cmodule.py in compile_str(module_name, src_code, location, include_dirs, lib_dirs, libs, preargs, py_module, hide_symbols)
2386 # difficult to read.
2387 raise Exception('Compilation failed (return status=%s): %s' %
-> 2388 (status, compile_stderr.replace('\n', '. ')))
2389 elif config.cmodule.compilation_warning and compile_stderr:
2390 # Print errors just below the command line.
. collect2.exe: error: ld returned 1 exit statusdir_Windows-10-10.0.17134-SP0-Intel64_Family_6_Model_94_Stepping_3_GenuineIntel-3.6.5-64/lazylinker_ext/mod.cpp:976: undefined reference to `__imp__Py_TrueStruct'Error'e undefined references to `__imp__Py_NoneStruct' followow