umap CRAN package unable to find umap-learn python3 package

Hello everybody and greetings from Italy.
Using Windows as OS, I installed Active python (python3) and umap-learn by pip (command: python3 -m pip install umap-learn). Trying to exploit it by means of CRAN umap package I receive the following error message:


umap configuration parameters
n_neighbors: 15
n_components: 2
metric: manhattan
n_epochs: 200
input: data
init: spectral
min_dist: 0.1
set_op_mix_ratio: 1
local_connectivity: 1
bandwidth: 1
alpha: 1
gamma: 1
negative_sample_rate: 5
a: NA
b: NA
spread: 1
random_state: 2
transform_state: NA
knn_repeats: 1
verbose: FALSE
umap_learn_args: NA

method = "umap-learn"
dataML.umap = umap(X,custom.config, method=method ) #X and dataML are my data in a dataframe

Errore: Python module umap was not found.
Detected Python configuration:

python: C:/Programs/Python38/python3.exe
libpython: C:/Programs/Python38/python38.dll
pythonhome: C:/Programs/Python38
version: 3.8.2 (default, Aug 25 2020, 15:54:26) [MSC v.1900 64 bit (AMD64)]
Architecture: 64bit
numpy: C:/Programs/Python38/Lib/site-packages/numpy
numpy_version: 1.18.4
umap: C:\Programs\Python38\lib\site-packages\umap\__init__.p

I precise that umap package works well with method="naive" so the point is: why it is not able to reach python "umap\__init__.p" ?
I have some doubts about the path indicated by Rstudio error message:
"umap: C:\Programs\Python38\lib\site-packages\umap\__init__.p"
whereas it should maybe be:
"umap: C:/Programs/Python38/Lib/site-packages/umap/__init__.p" .
In your opinion, is it a problem of case-sensitivity or about configuration file?

Unfortunately, I know very little about configuration files and operating systems. Therefore I do not know what to do.
I precise that I got the same error message by installing the latest version of umap-learn or a previous version (0.3.10).
Please, any suggestion ?
I thank you in advance

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.