-
Notifications
You must be signed in to change notification settings - Fork 17
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
import pysdd.sdd in Python3.7 vs Python3.8 #19
Comments
That can occur when the SDD package did not properly compile while installing PySDD. Have you tried reinstalling it for python 3.7 (forcing a recompile to prevent reuse of erroneous wheel)? Also, out of interest, what does |
I first tried the suggested command in a python 3.7 environment. The installation failed with the following log. I also tried the command in a python3.8 environment, and I change the python3.7 to python3.8 in the command. It can successfully install the pysdd, but import pysdd.sdd causes the same error as arthur reported. |
I fixed the problem in my distribution. The problem wasn't 3.7 vs 3.8, it seemed to be a problem with miniconda. In particular it has its own linker ld distributed with miniconda. When I rename it, I believe it now uses my system's ld, which lets pysdd compile successfully (the error messages I was getting was suggesting a bug in an older version of elfutils/binutils). I don't think this is the problem with Jason above tho, since he is not using miniconda, and he was getting different error messages than I was. |
@hahaXD Try adding the |
@VincentDerk It works. Thank you. |
Hi, I am still seeing this issue on OSX, using python3.7. I |
|
It's fixed now! I looked at the other issue (#18) and your proposed solution there worked: |
I ran into the same issue when moving from system provided (Ubuntu) Python 3.8 to a fresh Python 3.9 from conda. I tried reproducing the failing state by uninstalling and reinstalling with just pip -vvv but had no luck. Once it started working it kept working. Here is the output anyway: https://gist.github.com/VorpalBlade/6a8de21d5714c84214ce9d56061bc4c7 |
I ran into the same issue on Python 3.10 again. Very strange. |
I'm getting this error when I try to import pysdd.sdd using Python 3.7.
But it works fine with Python3.8. Anyone know why?
The text was updated successfully, but these errors were encountered: