-
Notifications
You must be signed in to change notification settings - Fork 68
Aborted (core dumped) #137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I just repeated the steps and it was successful for me, though I had to make some slight modifications to get it to work. Since you don't mention having to do this, I suspect something is corrupted up in your environment. The most obvious source of problems (which I also ran into) is that it is easy to accidentally execute the wrong version of
I guess that the pip you are using must be the wrong one, since if it was the right one you would have next run into the problem that
or if the environment is already created, then do
If there were no errors when you installed cylp in this clean environment, then you were probably using the wrong version of pip. I don't know exactly how you were then able to import cylp, but in any case, it works fine for me once I install numpy and also use the right version of pip. |
Another indication that something weird is going on is that the script in the README (and the on you copied above was accidentally a Python 2 script, so if you didn't get any error when you ran it, then you ran it in Python 2 (unless you corrected this and didn't mention it). The README has now been modified to reflect all of the small glitches I ran into and that are discussed above. |
@cafunechen I'm confused, since you said here that it works on Linux. But anyway, for this current error, it looks like maybe you are mixing conda Python with the Python that comes with OS X or something. This kind of corruption is pretty common on OS X. The version of cylp getting loaded is from It would probably work to just delete the directory |
bug coredum infos:
my environment are: 2、
3、gcc -> gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) please offer your environment, thanks |
hi,i guess the error occurs for the version of glibc compilation is inconsistent with the system version,Is there a specific version about glibc |
There is no specific version of libc. CyLP is built from source on OS X and Linux, so you get whatever libc version the compiler links to (OS X doesn't actually use glibc, but instead uses the LLVM libc I believe). This is just a stab in the dark, but could you take a look at #105 and try building this commit: 875d5d5? If this fixes it, then we would have a clue. |
Please forgive my late reply for jet lag
occurs
Whether this version [875d5d5] is special import way in some dependency packages?
it still normal, no errors reported. At first, I thought that the CBC was not installed correctly, so I tried all of them (binary, source, coinbrew...), but when I type in CBC at the terminal, he CBC solver
so i guess cbc is not the cause;In my poor knowledge, I guess it's a compilation problem for our Linux system, i am not sure.... |
Uh oh!
There was an error while loading. Please reload this page.
Hi, i install cylp according to:
1、 conda create -n cbc python=3.7 coin-or-cbc -c conda-forge
2、conda activate cbc
3、pip install cylp
it's ok to execute “import cylp"
but when i execute the demo
the error occurs:
i don't know what mistake has happened ,Please help me! thanks a lot
The text was updated successfully, but these errors were encountered: