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
[BUG] Unhandled type <class 'str'> #2
Comments
Hi Try using our PySwip fork, available here: https://github.com/ML-KULeuven/pyswip Kind regards, |
Works after re-installing PySDD. |
Just in case someone else ends up doing my mistake of running Hence, the pointer given above by Robin is the resolution to this issue. Not sure it has anything to do with |
I have the same problem as freddycct and could not solve it by installing this PySwip fork (https://github.com/ML-KULeuven/pyswip), or re-installing PySDD. I am using Pop!_OS 20.04 and a this virtual environment:
This is the error message:
|
What version of SWIPL are you using? |
I am using SWIPL version 8.4.2 |
Are you sure its using our forked version of PySwip? The list still specifies pypi as the channel. |
I experience the same issue as @dtafler . Re-installing PySDD does not seem to work and I am sure that the forked version of PySwip is being used. I have tried with SWIPL version 8.4.0 and 8.4.2 on both Windows and Ubuntu 20.04. I have discovered that running addition_noisy.py seems to work and that no error is given when running addition.py if the 'gm' method is removed from the parameters variable. |
This error will not happen with you use the ExactEngine (e.g. when removig the 'gm' method). The problem is happening somewhere in the interface between the Python and SWIPL. I'm not immediately able to reproduce the error, as the code has not change at all in the meantime. I'll look into it more when I have the time. |
For people still struggling with this issue, how did you install the forked version? The command on that was shown on the readme was not correct. The correct way to install it is to download the source code and do a |
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
Additional context
pyswip is installed from master branch, otherwise pyswip has a bug in the last release.
The text was updated successfully, but these errors were encountered: