You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same problem. Apparently, it is due to an incompatibility between python-duckling and the latest release of JPype1. The setup.py file in python-duckling is not constraining the version of JPype1 and, consequently, the latest available version is installed.
What I did to solve it was to install the latest version of JPype1 at the time my version of python-duckling was released.
That is, for python-duckling==1.8.0 (released on Apr 5, 2018), I installed JPype1==0.6.3 (released on Apr 3, 2018).
P.S.: If facing compilation issues when doing pip install JPype1==0.6.3, try installing the first version released as a wheel package, that is: pip install --force-reinstall JPype1==0.7.0
I had a similar issue and @masdeseiscaracteres solution worked. However, I had to use pip install --force-reinstall JPype1==0.6.3 (not pip install --force-reinstall JPype1==0.7.0)
My error message was: TypeError: int() argument must be a string, a bytes-like object or a number, not 'java.lang.String'
Reacted by hasan salim kanmaz, AwikDhar, uriva, orangeice and Umair Qadir
Reacted by hasan salim kanmaz, Umair Qadir, Wojciech Janowski and chatbot12138
Activity
masdeseiscaracteres commentedon Sep 24, 2020
I had the same problem. Apparently, it is due to an incompatibility between
python-ducklingand the latest release ofJPype1. Thesetup.pyfile inpython-ducklingis not constraining the version ofJPype1and, consequently, the latest available version is installed.What I did to solve it was to install the latest version of
JPype1at the time my version ofpython-ducklingwas released.That is, for
python-duckling==1.8.0(released on Apr 5, 2018), I installedJPype1==0.6.3(released on Apr 3, 2018).P.S.: If facing compilation issues when doing
pip install JPype1==0.6.3, try installing the first version released as a wheel package, that is:pip install --force-reinstall JPype1==0.7.0nbeuchat commentedon Jan 21, 2021
I had a similar issue and @masdeseiscaracteres solution worked. However, I had to use
pip install --force-reinstall JPype1==0.6.3(notpip install --force-reinstall JPype1==0.7.0)My error message was:
TypeError: int() argument must be a string, a bytes-like object or a number, not 'java.lang.String'