Segmentation fault while implementing a python program

188 views
Skip to first unread message

Carl

unread,
Jan 24, 2024, 10:54:56 AM1/24/24
to or-tools-discuss

I donwloaded the bin packing problem code in python (you can find the code here: https://developers.google.com/optimization/pack/bin_packing) and tried to run it. I've correctly installed ortools. However when I try to run the program, it keeps me saying "Segmentation fault: 11".

python3 bpp.py 

Segmentation fault: 11 

I tried to uninstall and reinstall the module, I also created a new virtual environment installing only ortools dependencies in it, but the problem still.

How can I solve this? Thanks


Additional information:

python3 --version 

Python 3.12.1 


pip3 show ortools 

Name: ortools Version: 9.8.3296 Summary: Google OR-Tools python libraries and modules Home-page: developers.google.com/optimization Author: Google LLC Author-email: or-t...@google.com License: Apache 2.0 


OS Big Sur version 11.7.10

Laurent Perron

unread,
Jan 24, 2024, 11:59:15 AM1/24/24
to or-tools...@googlegroups.com
No idea.
Where does it crash ? at loading ? during the python code ?

big-sur seems to be old.
Laurent Perron | Operations Research | lpe...@google.com | (33) 1 42 68 53 00



--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/or-tools-discuss/da86ee42-668d-456f-bbf3-e8e277477a84n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages