Look at this post,where i fix this error.
You try to build Pandas it has a lot of dependencies.
I also always build it in virtual environment when trouble shooting errors,
to have more control over dependencies.
So the fix was this added to spec file.
You try to build Pandas it has a lot of dependencies.
I also always build it in virtual environment when trouble shooting errors,
to have more control over dependencies.
So the fix was this added to spec file.
hiddenimports=['pandas._libs.tslibs.timedeltas'],Then run spec file.
pyinstaller --clean your.spec