! conda install --channel=conda-forge nb_conda_kernels
Collecting package metadata (current_repodata.json): failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/conda-forge/linux-64/current_repodata.json
Elapsed: -
Same if I try boto3 and pyspark.
! python -m nb_conda_kernels.install -v --status
/opt/conda/bin/python: Error while finding module specification for ‘nb_conda_kernels.install’ (ModuleNotFoundError: No module named ‘nb_conda_kernels’)
! python -m nb_conda_kernels.install -v --status
/opt/conda/bin/python: Error while finding module specification for ‘nb_conda_kernels.install’ (ModuleNotFoundError: No module named ‘nb_conda_kernels’)
My path
/home/notebook/work/.aws-editors-workspace-metadata:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
import sys
sys.path
[‘/home/notebook/work’,
‘/opt/conda/lib/python37.zip’,
‘/opt/conda/lib/python3.7’,
‘/opt/conda/lib/python3.7/lib-dynload’,
‘’,
‘/opt/conda/lib/python3.7/site-packages’,
‘/opt/conda/lib/python3.7/site-packages/awseditorssparkmonitoringwidget-1.0-py3.7.egg’,
‘/opt/conda/lib/python3.7/site-packages/IPython/extensions’,
‘/home/notebook/.ipython’]
How to fix this?