nleguillarme / taxonerd

TaxoNERD : recognizing taxonomic entities using deep models
MIT License
39 stars 8 forks source link

issue with install.taxonerd() #9

Closed julianflowers closed 2 years ago

julianflowers commented 2 years ago

Hi

I keep getting this error message when I run import.taxonerd() - for whatever reason I can't install core python packages

m pip install --upgrade --no-user "pip" "wheel" "setuptools" Error: Error installing package(s): "\"pip\"", "\"wheel\"", "\"setuptools\""

I am running Windows 11, RStudio2022.02.3 build 492 and V4.2 of R, on a machine with 128Gb RAM.

I also have a problem with nmslib installation

I'd love to be able to get taxonerd working in R

Any ideas?

Thanks

nleguillarme commented 2 years ago

Hi @julianflowers Thank you for your interest in TaxoNERD.

Could you confirm that you installed TaxoNERD (using install.taxonerd) first ? I suppose you didn't, or couldn't, since it also requires having the core python packages.

In case you didn't run install.taxonerd, could you do it and send me the logs ?

julianflowers commented 2 years ago

This is what I see in the RStudio console

install.taxonerd() Using virtual environment "r-taxonerd" ... + "C:/Users/Julian/OneDrive/Documents/.virtualenvs/r-taxonerd/Scripts/python.exe" -m pip install --upgrade "pip" "wheel" "setuptools" Error: Error installing package(s): "\"pip\"", "\"wheel\"", "\"setuptools\""

If I run reticulate::use_virtualenv("r-taxonerd") I get Error in use_python(python, required = required) : Specified version of python '~/.virtualenvs/r-taxonerd/Scripts/python.exe' does not exist. so there may be an error in the way I have installed python or the virtual environment gets set up

Does that help?

Julian

On Mon, Jul 18, 2022 at 4:35 PM nleguillarme @.***> wrote:

Hi @julianflowers https://github.com/julianflowers Thank you for your interest in TaxoNERD.

Could you confirm that you installed TaxoNERD (using install.taxonerd) first ? I suppose you didn't, or couldn't, since it also requires having the core python packages.

In case you didn't run install.taxonerd, could you do it and send me the logs ?

— Reply to this email directly, view it on GitHub https://github.com/nleguillarme/taxonerd/issues/9#issuecomment-1187651704, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADA5MDJZOXCFYLVRFKJDD3LVUV2UXANCNFSM53LGLYPQ . You are receiving this because you were mentioned.Message ID: @.***>

nleguillarme commented 2 years ago

Could you please check if C:/Users/Julian/OneDrive/Documents/.virtualenvs/r-taxonerd/Scripts/python.exe actually exists ?

nleguillarme commented 2 years ago

I see in #10 that you managed to get things installed. Can I close this issue ?

nleguillarme commented 2 years ago

I close the issue. Feel free to reopen it if necessary.