Installing python-javabridge error

334 views
Skip to first unread message

YASMINE CHAOUCHE

unread,
Apr 2, 2022, 10:28:33 AM4/2/22
to python-weka-wrapper
Hello, 
I'm trying to reinstall the pww3 after losing my distribution.
I'm getting this error when installing "python-javabridge", this prevents me therefore from installing "python-weka-wrapper3".
Capture.PNG
Capture.PNG
I'm using python3 (3.8.13), pip3 (pip 22.0.4 from /usr/local/lib/python3.8/dist-packages/pip (python 3.8) )and java-1.11.0-openjdk-amd64.

Any help please?
Thanks,

Peter Reutemann

unread,
Apr 2, 2022, 3:23:35 PM4/2/22
to python-we...@googlegroups.com
You need to install the python3-dev package to make the Python.h header file available for compilation.

Cheers, Peter
--
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174 (office)
+64 (7) 577-5304 (home office)
http://www.cs.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/

Apr 3, 2022 02:28:36 YASMINE CHAOUCHE <hy_ch...@esi.dz>:

--
You received this message because you are subscribed to the Google Groups "python-weka-wrapper" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-weka-wra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python-weka-wrapper/909abbbc-05cd-47c6-90a8-3eb29f11692bn%40googlegroups.com.

YASMINE CHAOUCHE

unread,
Apr 2, 2022, 3:47:33 PM4/2/22
to python-weka-wrapper
the python3-dev package is already installed, I still have the same problem, I'm using ubuntu 18.04.
Do I have to use a specific version of python or jdk ?

Peter Reutemann

unread,
Apr 2, 2022, 4:39:33 PM4/2/22
to python-we...@googlegroups.com
Make sure that the version of Python that you installed the header files for (Python.h) and the Python version you are using in your virtual enviroment are the same.

Cheers, Peter
--
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174 (office)
+64 (7) 577-5304 (home office)
http://www.cs.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/

Apr 3, 2022 07:47:35 YASMINE CHAOUCHE <hy_ch...@esi.dz>:

YASMINE CHAOUCHE

unread,
Apr 2, 2022, 5:17:14 PM4/2/22
to python-weka-wrapper
I finally managed to install it.
Thank you!

Peter Reutemann

unread,
Apr 2, 2022, 5:19:45 PM4/2/22
to python-weka-wrapper
Great that it's working. For posterity, would you be able to post what you did to solve it?

Cheers, peter

Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 577-5304 (home office)

YASMINE CHAOUCHE

unread,
Apr 7, 2022, 4:30:28 PM4/7/22
to python-weka-wrapper
yes of course, I used "sudo apt-get install python3.8-dev" instead of "sudo apt-get install python3-dev".

Thanks

Reply all
Reply to author
Forward
0 new messages