I've read through the pyinstaller documentation a couple times but I still can't figure out how to solve this issue. The first line of my script imports a module import gurobipy as gb
The executable gets built and then I go to run it and get this error:
File "Final_Project.py", line 1, in <module>
import gurobipy as gb
File "c:\users\bugbe\appdata\local\continuum\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\gurobipy\__init__.py", line 1, in <module>
File "model.pxi", line 8, in init gurobipy
ModuleNotFoundError: No module named 'numbers'
[46000] Failed to execute script Final_Project
I've tried adding a hidden path so pyinstaller can find the full module gurobipy but it seems to grab everything and I still get this error. The gurobi folder contains a few types of file including applications, dlls, and a xml file. What am I missing?