0

I am using this command on cmd:

pyinstaller --onefile "Tkinter Final".py

Then it is converting to exe, but when I want to launch .exe file i am getting the error:

This is the image shows the error

Tim Mironov
  • 849
  • 8
  • 22

2 Answers2

1

I have solved the problem with adding these before importing pandas

import numpy.random.common
import numpy.random.bounded_integers
import numpy.random.entropy

Edit : You can use this method too, on the cmd :

pyinstaller --hidden-import="numpy.random.common" --hidden-import="numpy.random.bounded_integers" --hidden-import="numpy.random.entropy" yourfilename.py
0

Maybe adding numpy.random to the hidden import will work.

Documentation about hidden import

ndclt
  • 2,590
  • 2
  • 12
  • 26