before my model. That did not work. I also ran the .py script through a command prompt as you suggested and this is what the error I got back.
WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions.
C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\h5py_init_.py:36: FutureWarning: Conversion of the second argument of issubdtype from float
to np.floating
is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type
.
from ._conv import register_converters as _register_converters
C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\sklearn\cross_validation.py:41: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
“This module will be removed in 0.20.”, DeprecationWarning)
You can find the C code in this temporary file: C:\Users\jorda\AppData\Local\Temp\theano_compilation_error_ic7zehe3
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\multiprocessing\spawn.py”, line 105, in spawn_main
exitcode = _main(fd)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\multiprocessing\spawn.py”, line 114, in _main
prepare(preparation_data)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\multiprocessing\spawn.py”, line 225, in prepare
_fixup_main_from_path(data[‘init_main_from_path’])
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
Traceback (most recent call last):
File “D:\Sales\sales_bayesian.py”, line 79, in
run_name=“mp_main”)
trace = pm.sample(draws=5000, init = ‘advi’, progressbar=True) File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\runpy.py”, line 263, in run_path
File "C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\pymc3\sampling.py", line 439, in sample
pkg_name=pkg_name, script_name=fname)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\runpy.py”, line 96, in _run_module_code
trace = _mp_sample(**sample_args)
mod_name, mod_spec, pkg_name, script_name) File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\pymc3\sampling.py”, line 986, in _mp_sample
File "C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\runpy.py", line 85, in _run_code
chain, progressbar) exec(code, run_globals)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\pymc3\parallel_sampling.py”, line 313, in init
File “D:\Sales\sales_bayesian.py”, line 61, in
mu_a = pm.Normal(‘mu_a’, mu = 0, sd = 10)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\pymc3\distributions\distribution.py”, line 41, in new
dist = cls.dist(*args, **kwargs)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\pymc3\distributions\distribution.py”, line 52, in dist
dist.init(*args, **kwargs)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\pymc3\distributions\continuous.py”, line 432, in init
self.variance = 1. / self.tau
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\theano\tensor\var.py”, line 203, in rtruediv
return theano.tensor.basic.true_div(other, self)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\theano\gof\op.py”, line 670, in call
no_recycling=)for chain, seed, start in zip(range(chains), seeds, start_points)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\theano\gof\op.py”, line 955, in make_thunk
File "C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\pymc3\parallel_sampling.py", line 313, in <listcomp>
no_recycling)
for chain, seed, start in zip(range(chains), seeds, start_points) File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\theano\gof\op.py”, line 858, in make_c_thunk
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\pymc3\parallel_sampling.py”, line 204, in init
output_storage=node_output_storage)self._process.start()
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\theano\gof\cc.py”, line 1217, in make_thunk
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\multiprocessing\process.py”, line 105, in start
keep_lock=keep_lock)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\theano\gof\cc.py”, line 1157, in compile
keep_lock=keep_lock)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\theano\gof\cc.py”, line 1620, in cthunk_factory
key=key, lnk=self, keep_lock=keep_lock)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\theano\gof\cmodule.py”, line 1181, in module_from_key
module = lnk.compile_cmodule(location)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\theano\gof\cc.py”, line 1523, in compile_cmodule
preargs=preargs)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\site-packages\theano\gof\cmodule.py”, line 2391, in compile_str
(status, compile_stderr.replace(‘\n’, '. ')))
Exception: ('Compilation failed (return status=1): C:\Users\jorda\AppData\Local\Theano\compiledir_Windows-10-10.0.17134-SP0-Intel64_Family_6_Model_158_Stepping_10_GenuineIntel-3.6.5-64\tmpnqc__ki2\mod.cpp:1:0: sorry, unimplemented: 64-bit mode not compiled in\r. #include <Python.h>\r. ^\r. ', ‘[Elemwise{true_div,no_inplace}(TensorConstant{1.0}, TensorConstant{0.01})]’)
self._popen = self._Popen(self)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\multiprocessing\context.py”, line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\multiprocessing\context.py”, line 322, in _Popen
return Popen(process_obj)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\multiprocessing\popen_spawn_win32.py”, line 65, in init
reduction.dump(process_obj, to_child)
File “C:\Users\jorda\AppData\Local\conda\conda\envs\theano\lib\multiprocessing\reduction.py”, line 60, in dump
ForkingPickler(file, protocol).dump(obj)
BrokenPipeError: [Errno 32] Broken pipe