Thank You very much for your reply!Rebooting didn’t help but apparently deleting the file ‘vs2015_compiler_vars.bat’ from the computer helped and anaconda prompt is working now.
However, [regarding 2nd] you are right. I followed your instructions and now there is no error while importing the theano and pymc3 as well. Thank you!
but I am getting following error when I run the code, the line when sample the variable raise error:
[These two line raise the error:]
with basic_model:
trace=pm.sample(5000)
OUTPUT:
runfile(‘F:/Dropbox/Catania/Python_codes/dummy_codes/test_tensorVariable.py’, wdir=‘F:/Dropbox/Catania/Python_codes/dummy_codes’)
Auto-assigning NUTS sampler…
Initializing NUTS using jitter+adapt_diag…
Multiprocess sampling (4 chains in 4 jobs)
NUTS: [sigma, Azim]
Traceback (most recent call last):
File “”, line 1, in
runfile(‘F:/Dropbox/Catania/Python_codes/dummy_codes/test_tensorVariable.py’, wdir=‘F:/Dropbox/Catania/Python_codes/dummy_codes’)
File “C:\Users\singh.CT\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py”, line 786, in runfile
execfile(filename, namespace)
File “C:\Users\singh.CT\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py”, line 110, in execfile
exec(compile(f.read(), filename, ‘exec’), namespace)
File “F:/Dropbox/Catania/Python_codes/dummy_codes/test_tensorVariable.py”, line 45, in
trace=pm.sample(5000)
File “C:\Users\singh.CT\AppData\Local\Continuum\anaconda3\lib\site-packages\pymc3\sampling.py”, line 439, in sample
trace = _mp_sample(**sample_args)
File “C:\Users\singh.CT\AppData\Local\Continuum\anaconda3\lib\site-packages\pymc3\sampling.py”, line 986, in _mp_sample
chain, progressbar)
File “C:\Users\singh.CT\AppData\Local\Continuum\anaconda3\lib\site-packages\pymc3\parallel_sampling.py”, line 313, in init
for chain, seed, start in zip(range(chains), seeds, start_points)
File “C:\Users\singh.CT\AppData\Local\Continuum\anaconda3\lib\site-packages\pymc3\parallel_sampling.py”, line 313, in
for chain, seed, start in zip(range(chains), seeds, start_points)
File “C:\Users\singh.CT\AppData\Local\Continuum\anaconda3\lib\site-packages\pymc3\parallel_sampling.py”, line 204, in init
self._process.start()
File “C:\Users\singh.CT\AppData\Local\Continuum\anaconda3\lib\multiprocessing\process.py”, line 112, in start
self._popen = self._Popen(self)
File “C:\Users\singh.CT\AppData\Local\Continuum\anaconda3\lib\multiprocessing\context.py”, line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File “C:\Users\singh.CT\AppData\Local\Continuum\anaconda3\lib\multiprocessing\context.py”, line 322, in _Popen
return Popen(process_obj)
File “C:\Users\singh.CT\AppData\Local\Continuum\anaconda3\lib\multiprocessing\popen_spawn_win32.py”, line 65, in init
reduction.dump(process_obj, to_child)
File “C:\Users\singh.CT\AppData\Local\Continuum\anaconda3\lib\multiprocessing\reduction.py”, line 60, in dump
ForkingPickler(file, protocol).dump(obj)
BrokenPipeError: [Errno 32] Broken pipe