I am using the to_categorical function in KerasR and it throws an error message in RStudio which is this:
mnist_y <- to_categorical(mnist_y, 10)
Collecting package metadata (current_repodata.json): ...working... failed
CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to
download and install packages.
Exception: HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /conda-forge/win-64/current_repodata.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
Error: Python not available
See reticulate::use_python() to set python path,
then use kerasR::keras_init() to retry
I am not a Python user. Thank you.