I was following steps for installation but got error:
> keras::install_keras("conda", tensorflow="2.3.1", envname="mlr3keras")
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: C:\Users\Mislav\AppData\Local\R-MINI~1\envs\mlr3keras
added / updated specs:
- python=3.7
The following packages will be downloaded:
package | build
---------------------------|-----------------
numpy-1.21.2 | py37h940b05c_0 5.6 MB conda-forge
pandas-1.3.2 | py37h9386db6_0 10.8 MB conda-forge
python-3.7.10 |h7840368_100_cpython 17.9 MB conda-forge
python_abi-3.7 | 2_cp37m 4 KB conda-forge
setuptools-58.0.4 | py37h03978a9_0 927 KB conda-forge
------------------------------------------------------------
Total: 35.2 MB
The following packages will be DOWNGRADED:
numpy 1.21.2-py38h089cfbf_0 --> 1.21.2-py37h940b05c_0
pandas 1.3.2-py38h5d928e2_0 --> 1.3.2-py37h9386db6_0
python 3.8.10-h7840368_1_cpython --> 3.7.10-h7840368_100_cpython
python_abi 3.8-2_cp38 --> 3.7-2_cp37m
setuptools 58.0.4-py38haa244fe_0 --> 58.0.4-py37h03978a9_0
Downloading and Extracting Packages
numpy-1.21.2 | 5.6 MB | ########## | 100%
python_abi-3.7 | 4 KB | ########## | 100%
setuptools-58.0.4 | 927 KB | ########## | 100%
pandas-1.3.2 | 10.8 MB | ########## | 100%
python-3.7.10 | 17.9 MB | ########## | 100%
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/tensorflow/
Could not fetch URL https://pypi.org/simple/tensorflow/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/tensorflow/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement tensorflow==2.3.1.* (from versions: none)
ERROR: No matching distribution found for tensorflow==2.3.1.*
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
Error: Error installing package(s): "\"tensorflow==2.3.1.*\"", "\"tensorflow-hub\"", "\"scipy\"", "\"requests\"", "\"pyyaml==3.12\"", "\"Pillow\"", "\"h5py==2.10.0\"", "\"pandas\"
I was following steps for installation but got error: