Install Python-weka-wrapper3 on conda and use it in jupyter lab

9 views
Skip to first unread message

Pablo Moreira Garcia

unread,
Feb 20, 2024, 2:26:34 PMFeb 20
to python-weka-wrapper
Hi, I'm trying to use the wrapper on jupyter lab instaled with anaconda on windows 10, but I get this error " ERROR: Failed building wheel for python-javabridge ERROR: Could not build wheels for python-javabridge, which is required to install pyproject.toml-based projects" when I try to install the dependences in the jupyter lab with "!pip install python-javabridge
!pip install python-weka-wrapper"

Peter Reutemann

unread,
Feb 20, 2024, 5:04:13 PMFeb 20
to python-we...@googlegroups.com
> Hi, I'm trying to use the wrapper on jupyter lab instaled with anaconda on windows 10, but I get this error " ERROR: Failed building wheel for python-javabridge ERROR: Could not build wheels for python-javabridge, which is required to install pyproject.toml-based projects" when I try to install the dependences in the jupyter lab with "!pip install python-javabridge
> !pip install python-weka-wrapper"

pip/setuptools are changing how installations of libraries work and
favor wheels, unfortunately breaking quite a few installations doing
that.

You could try downgrading pip to <21 before installing anything:
!pip install --upgrade "pip<21"

And, if you should have setuptools installed, make sure that
setuptools is an older version as well:
!pip install --upgrade "setuptools<59"

As reference, my local system uses pip 20.0.2 and setuptools 44.0.0.

Cheers, Peter
--
Peter Reutemann
Dept. of Computer Science
University of Waikato, Hamilton, NZ
Mobile +64 22 190 2375
https://www.cs.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/
Reply all
Reply to author
Forward
0 new messages