I have tried to create an executable file using the pyinstaller library for a Python code that generates a user interface. The code uses different libraries, including cvxpy, numpy, and matplotlib. Once the executable is created, when I run it, I get the following error "ModuleNotFoundError: No module named 'scipy.linalg.basic'".
I have already updated scipy and the problem persists. I appreciate your help in solving the problem.
Make sure you have SciPy correctly installed with this command:
pip show scipyIf you have it, can you try
pyinstaller --hidden-import scipy.linalg.basic <your-script-name>.pyand afterwardpyinstaller --onefile --hidden-import scipy.linalg.basic <your-script-name>.pyon your bash?Also, the
scipy.linalgdocumentation can help https://docs.scipy.org/doc/scipy/reference/linalg.html. I didn't seescipy.linalg.basicin that documentation.