I'm trying to create a basic neural network using the following packages;
library(keras)
library(mlbench)
library(dplyr)
library(magrittr)
library(neuralnet)
When I get to the stage where I am compiling the model, I run into some errors regarding SSL.
##compiling model
model <- keras_model_sequential()
model %>%
layer_dense(units = 5, activation = 'relu', input_shape = c(13)) %>%
layer_dense(units = 1)
#errors
- "C:/Users/username/AppData/Local/r-miniconda/condabin/conda.bat" "create" "--yes" "--prefix" "C:/Users/username/AppData/Local/r-miniconda/envs/r-reticulate" "python=3.8" "numpy" "--quiet" "-c" "conda-forge"
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."))
##troubleshooting
I have OpenSSL downloaded (the newest version 3.0.5), where I have added this location to the Path of my Environmental Variables (Sytems Variables)...
C:\Program Files\OpenSSL-Win64\bin.
I have Anaconda3 downloaded, and have also added the following to the Path to the Environmental Variables (Systems Variable) as;
C:\Users\username\anaconda3\Lib\site-packages\OpenSSL.
The package openssl is also installed in R.
Not sure how to overcome this problem. Perhaps it is an issue based on where it directs intiially (with the r-miniconda), but not sure how to redirect to the path to the already installed Anaconda3 package?
Any help would be appreciated please.