Open m-pilarski opened 2 months ago
Hi, thanks for reproting this. Which text-package version are you using?
(also, here you can see it being build on Unbuntu: https://github.com/OscarKjell/text/actions/runs/10140715536/job/28036469916)
I'm using text v1.2.3 and conda v24.7.1
(Also, my colleague has the same issue on his Arch Linux based system.)
According to https://github.com/scikit-learn-contrib/hdbscan/issues/634, hdbscan cannot be compiled with gcc v14. The Ubuntu version in your test is probably still using gcc v13.
Running the following code fixed the issue for me:
# reticulate::conda_remove("textrpp_condaenv")
reticulate::conda_create(
envname="textrpp_condaenv",
python_version="3.9.0",
)
reticulate::conda_install(
envname="textrpp_condaenv",
packages="gcc_linux-64==13.2.0"
)
text::textrpp_install()
According to scikit-learn-contrib/hdbscan#634, hdbscan cannot be compiled with gcc v14. The Ubuntu version in your test is probably still using gcc v13.
Running the following code fixed the issue for me:
# reticulate::conda_remove("textrpp_condaenv") reticulate::conda_create( envname="textrpp_condaenv", python_version="3.9.0", ) reticulate::conda_install( envname="textrpp_condaenv", packages="gcc_linux-64==13.2.0" ) text::textrpp_install()
Yes, exactly. It depends on the version of GCC compiler in Linux. I wonder if we need to include this or just print a message instead. @OscarKjell
Hey,
I cannot install the Python dependencies by running
textrpp_install()
on Linux (fully updated Manjaro).After removing the hdbscan version specification from
rpp_version=
, it works. 🤷