Now, I could get rid of the import issues,
pkg_resources.DistributionNotFound: The 'scipy' distribution was not found and is required by the application
[13796] Failed to execute script sample
But now there is some issue with compilation. Could you please help me in this regard?
Thank you.
Here is the error message,
WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions.
c:\python\lib\site-packages\PyInstaller\loader\pyimod03_importers.py:621: MatplotlibDeprecationWarning:
The MATPLOTLIBDATA environment variable was deprecated in Matplotlib 3.1 and will be removed in 3.3.
exec(bytecode, module.__dict__)
You can find the C code in this temporary file: C:\Users\Vimal\AppData\Local\Temp\theano_compilation_error_tyojr99y
Traceback (most recent call last):
File "sample.py", line 66, in <module>
File "sample.py", line 15, in coeffEstimation
File "site-packages\pymc3\distributions\distribution.py", line 46, in __new__
File "site-packages\pymc3\model.py", line 833, in Var
File "site-packages\pymc3\model.py", line 1557, in __init__
File "site-packages\pymc3\distributions\transforms.py", line 95, in apply
File "site-packages\pymc3\distributions\distribution.py", line 56, in dist
File "site-packages\pymc3\distributions\transforms.py", line 125, in __init__
File "site-packages\pymc3\model.py", line 1274, in __init__
File "site-packages\pymc3\distributions\continuous.py", line 224, in logp
File "site-packages\theano\tensor\var.py", line 69, in __ge__
File "site-packages\theano\gof\op.py", line 615, in __call__
File "site-packages\theano\tensor\elemwise.py", line 482, in make_node
File "site-packages\theano\tensor\elemwise.py", line 438, in get_output_info
File "site-packages\theano\gof\op.py", line 670, in __call__
File "site-packages\theano\gof\op.py", line 955, in make_thunk
File "site-packages\theano\gof\op.py", line 858, in make_c_thunk
File "site-packages\theano\gof\cc.py", line 1217, in make_thunk
File "site-packages\theano\gof\cc.py", line 1157, in __compile__
File "site-packages\theano\gof\cc.py", line 1624, in cthunk_factory
File "site-packages\theano\gof\cmodule.py", line 1189, in module_from_key
File "site-packages\theano\gof\cc.py", line 1527, in compile_cmodule
File "site-packages\theano\gof\cmodule.py", line 2396, in compile_str
Exception: ('Compilation failed (return status=1): C:\\Users\\Vimal\\AppData\\Local\\Theano\\compiledir_Windows-10-10.0.17763-SP0-Intel64_Family_6_Model_142_Stepping_10_GenuineIntel-3.7.4-64\\tmp_yb6bb2e\\mod.cpp:1:10: fatal error: Python.h: No such file or directory. #include <Python.h>. ^~~~~~~~~~. compilation terminated.\r. ', '[InplaceDimShuffle{x}(TensorConstant{0.0})]')
[1820] Failed to execute script sample