-
Uninstall all VS Code extensions
DeleteC:\Users\*\.vscode\extensionsfolder
Reinstall extensions -
Remove Jupyter kernels
(base) PS D:\github\udacity-nd009t-capstone-starter> jupyter kernelspec list
Available kernels:
awsmle_py37 C:\Users\guido\AppData\Roaming\jupyter\kernels\awsmle_py37
drlnd_py310 C:\Users\guido\AppData\Roaming\jupyter\kernels\drlnd_py310
drlnd_py311 C:\Users\guido\AppData\Roaming\jupyter\kernels\drlnd_py311
sagemaker_py310 C:\Users\guido\AppData\Roaming\jupyter\kernels\sagemaker_py310
python3 D:\Users\guido\miniconda3\share\jupyter\kernels\python3
(base) PS D:\github\udacity-nd009t-capstone-starter> jupyter kernelspec uninstall awsmle_py37
Kernel specs to remove:
awsmle_py37 C:\Users\guido\AppData\Roaming\jupyter\kernels\awsmle_py37
Remove 1 kernel specs [y/N]: y
Removed C:\Users\guido\AppData\Roaming\jupyter\kernels\awsmle_py37
(base) PS D:\github\udacity-nd009t-capstone-starter> jupyter kernelspec uninstall awsmle_py37
Couldn't find kernel spec(s): awsmle_py37
(base) PS D:\github\udacity-nd009t-capstone-starter> jupyter kernelspec list
Available kernels:
drlnd_py310 C:\Users\guido\AppData\Roaming\jupyter\kernels\drlnd_py310
drlnd_py311 C:\Users\guido\AppData\Roaming\jupyter\kernels\drlnd_py311
sagemaker_py310 C:\Users\guido\AppData\Roaming\jupyter\kernels\sagemaker_py310
python3 D:\Users\guido\miniconda3\share\jupyter\kernels\python3
(base) PS D:\github\udacity-nd009t-capstone-starter> jupyter kernelspec uninstall sagemaker_py310
Kernel specs to remove:
sagemaker_py310 C:\Users\guido\AppData\Roaming\jupyter\kernels\sagemaker_py310
Remove 1 kernel specs [y/N]: y
Removed C:\Users\guido\AppData\Roaming\jupyter\kernels\sagemaker_py310
(base) PS D:\github\udacity-nd009t-capstone-starter> jupyter kernelspec list
Available kernels:
drlnd_py310 C:\Users\guido\AppData\Roaming\jupyter\kernels\drlnd_py310
drlnd_py311 C:\Users\guido\AppData\Roaming\jupyter\kernels\drlnd_py311
python3 D:\Users\guido\miniconda3\share\jupyter\kernels\python3- Remove conda envs
(base) PS D:\github\udacity-nd009t-capstone-starter> conda env list
# conda environments:
#
base * D:\Users\guido\miniconda3
awsmle_py310 D:\Users\guido\miniconda3\envs\awsmle_py310
cuda_py310 D:\Users\guido\miniconda3\envs\cuda_py310
drlnd_py310 D:\Users\guido\miniconda3\envs\drlnd_py310
drlnd_py310_backup D:\Users\guido\miniconda3\envs\drlnd_py310_backup
drlnd_py311 D:\Users\guido\miniconda3\envs\drlnd_py311
huggingface_py311 D:\Users\guido\miniconda3\envs\huggingface_py311
sagemaker_py310 D:\Users\guido\miniconda3\envs\sagemaker_py310
sagemaker_py313 D:\Users\guido\miniconda3\envs\sagemaker_py313
cuda_py310 d:\Users\guido\miniconda3\envs\cuda_py310
huggingface_py311 d:\Users\guido\miniconda3\envs\huggingface_py311
(base) PS D:\github\udacity-nd009t-capstone-starter> conda env remove -n cuda_py310
Remove all packages in environment D:\Users\guido\miniconda3\envs\cuda_py310:
(base) PS D:\github\udacity-nd009t-capstone-starter> conda env remove -n huggingface_py311
Remove all packages in environment D:\Users\guido\miniconda3\envs\huggingface_py311:
(base) PS D:\github\udacity-nd009t-capstone-starter> conda env remove -n sagemaker_py310
Remove all packages in environment D:\Users\guido\miniconda3\envs\sagemaker_py310:
(base) PS D:\github\udacity-nd009t-capstone-starter> conda env remove -n sagemaker_py313
Remove all packages in environment D:\Users\guido\miniconda3\envs\sagemaker_py313:
(base) PS D:\github\udacity-nd009t-capstone-starter> conda env list
# conda environments:
#
base * D:\Users\guido\miniconda3
awsmle_py310 D:\Users\guido\miniconda3\envs\awsmle_py310
drlnd_py310 D:\Users\guido\miniconda3\envs\drlnd_py310
drlnd_py310_backup D:\Users\guido\miniconda3\envs\drlnd_py310_backup
drlnd_py311 D:\Users\guido\miniconda3\envs\drlnd_py311
Locate where your Jupyter kernelspec files are stored:
Clear Cached Kernels (Optional): If the above steps don't work, you can clear the Jupyter extension cache manually:
Look for the cache in:
Inside
C:\Users\*\AppData\Roaming\jupyter\kernels\drlnd_py310\kernel.json, you’ll see a structure like this:{ "argv": [ "D:\\Users\\guido\\miniconda3\\envs\\drlnd_py310\\python.exe", "-m", "ipykernel_launcher", "-f", "{connection_file}" ], "display_name": "drlnd_py310", "language": "python", "metadata": { "debugger": true } }D:\Users\guido\miniconda3\share\jupyter\kernels\python3\kernel.json{ "argv": [ "python", "-m", "ipykernel_launcher", "-f", "{connection_file}" ], "display_name": "Python 3 (ipykernel)", "language": "python", "metadata": { "debugger": true } }