Why R Library 'ssw' Cannot Find Python Module Installed Via Pip3, Although Pip3 Module Installation Is Satisfied?
I am on Ubuntu 20.04.1 LTS focal, and using R. I want to install in R a library to perform local sequence alignments based upon the Smith-Waterman algorithm but via a faster implem
Solution 1:
I managed to solve the issue by using this command prior to the statement library("ssw")
:
Sys.setenv(RETICULATE_PYTHON = "/usr/bin/python3")
The statement prescribed in the README.md reticulate::use_python("/usr/local/bin/python3")
did not connect to the python installation and this one works on my system. This was discovered via:
$ which python3
/usr/bin/python3
and then using this directory as the system environment for the python connectivity
Post a Comment for "Why R Library 'ssw' Cannot Find Python Module Installed Via Pip3, Although Pip3 Module Installation Is Satisfied?"