I am getting this error while installing cuda

MOHD_SADIK: <p>Warning: PowerShell detected that you might be using a screen reader and has disabled PSReadLine for compatibility purposes. If you want to re-enable it, run ‘Import-Module PSReadLine’.</p>
<p>(base) PS C:\Users\mosad&gt; conda install cuda --channel nvidia/label/cuda-12.0.0<br>
Collecting package metadata (current_repodata.json): done<br>
Solving environment: done<br>
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename C:\Users\mosad\anaconda3\pkgs\libcufft-dev-11.0.1.95-0.tar.bz2.  Please remove this file manually (you may need to reboot to free file handles)</p>
<h2>
<a name="package-plan-1" class="anchor" href="#package-plan-1"></a>Package Plan</h2>
<p>environment location: C:\Users\mosad\anaconda3</p>
<p>added / updated specs:<br>
- cuda</p>
<p>The following packages will be downloaded:</p>
<pre><code>package                    |            build
---------------------------|-----------------
cuda-12.0.0                |                0           1 KB  nvidia/label/cuda-12.0.0
cuda-cccl-12.0.90          |                0         1.2 MB  nvidia/label/cuda-12.0.0
cuda-command-line-tools-12.0.0|                0           1 KB  nvidia/label/cuda-12.0.0
cuda-compiler-12.0.0       |                0           1 KB  nvidia/label/cuda-12.0.0
cuda-cudart-12.0.107       |                0         965 KB  nvidia/label/cuda-12.0.0
cuda-cudart-dev-12.0.107   |                0         539 KB  nvidia/label/cuda-12.0.0
cuda-cuobjdump-12.0.76     |                0         3.6 MB  nvidia/label/cuda-12.0.0
cuda-cupti-12.0.90         |                0        11.6 MB  nvidia/label/cuda-12.0.0
cuda-cuxxfilt-12.0.76      |                0         162 KB  nvidia/label/cuda-12.0.0
cuda-demo-suite-12.0.76    |                0         4.7 MB  nvidia/label/cuda-12.0.0
cuda-documentation-12.0.76 |                0          89 KB  nvidia/label/cuda-12.0.0
cuda-libraries-12.0.0      |                0           1 KB  nvidia/label/cuda-12.0.0
cuda-libraries-dev-12.0.0  |                0           1 KB  nvidia/label/cuda-12.0.0
cuda-nsight-compute-12.0.0 |                0           1 KB  nvidia/label/cuda-12.0.0
cuda-nvcc-12.0.76          |                0        54.7 MB  nvidia/label/cuda-12.0.0
cuda-nvdisasm-12.0.76      |                0        48.0 MB  nvidia/label/cuda-12.0.0
cuda-nvml-dev-12.0.76      |                0          89 KB  nvidia/label/cuda-12.0.0
cuda-nvprof-12.0.90        |                0         1.5 MB  nvidia/label/cuda-12.0.0
cuda-nvprune-12.0.76       |                0         150 KB  nvidia/label/cuda-12.0.0
cuda-nvrtc-12.0.76         |                0        72.9 MB  nvidia/label/cuda-12.0.0
cuda-nvrtc-dev-12.0.76     |                0        16.3 MB  nvidia/label/cuda-12.0.0
cuda-nvtx-12.0.76          |                0          41 KB  nvidia/label/cuda-12.0.0
cuda-nvvp-12.0.90          |                0       113.6 MB  nvidia/label/cuda-12.0.0
cuda-opencl-12.0.76        |                0          10 KB  nvidia/label/cuda-12.0.0
cuda-opencl-dev-12.0.76    |                0          54 KB  nvidia/label/cuda-12.0.0
cuda-profiler-api-12.0.76  |                0          18 KB  nvidia/label/cuda-12.0.0
cuda-runtime-12.0.0        |                0           1 KB  nvidia/label/cuda-12.0.0
cuda-sanitizer-api-12.0.90 |                0        12.8 MB  nvidia/label/cuda-12.0.0
cuda-toolkit-12.0.0        |                0           1 KB  nvidia/label/cuda-12.0.0
cuda-tools-12.0.0          |                0           1 KB  nvidia/label/cuda-12.0.0
cuda-visual-tools-12.0.0   |                0           1 KB  nvidia/label/cuda-12.0.0
libcublas-12.0.1.189       |                0          39 KB  nvidia/label/cuda-12.0.0
libcublas-dev-12.0.1.189   |                0       333.5 MB  nvidia/label/cuda-12.0.0
libcufft-11.0.0.21         |                0           6 KB  nvidia/label/cuda-12.0.0
libcufft-dev-11.0.0.21     |                0        74.8 MB  nvidia/label/cuda-12.0.0
libcurand-10.3.1.50        |                0           3 KB  nvidia/label/cuda-12.0.0
libcurand-dev-10.3.1.50    |                0        50.0 MB  nvidia/label/cuda-12.0.0
libcusolver-11.4.2.57      |                0          29 KB  nvidia/label/cuda-12.0.0
libcusolver-dev-11.4.2.57  |                0        95.9 MB  nvidia/label/cuda-12.0.0
libcusparse-12.0.0.76      |                0          12 KB  nvidia/label/cuda-12.0.0
libcusparse-dev-12.0.0.76  |                0       133.2 MB  nvidia/label/cuda-12.0.0
libnpp-12.0.0.30           |                0         308 KB  nvidia/label/cuda-12.0.0
libnpp-dev-12.0.0.30       |                0       135.6 MB  nvidia/label/cuda-12.0.0
libnvjitlink-12.0.76       |                0        67.0 MB  nvidia/label/cuda-12.0.0
libnvjitlink-dev-12.0.76   |                0        13.6 MB  nvidia/label/cuda-12.0.0
libnvjpeg-12.0.0.28        |                0           4 KB  nvidia/label/cuda-12.0.0
libnvjpeg-dev-12.0.0.28    |                0         1.7 MB  nvidia/label/cuda-12.0.0
libnvvm-samples-12.0.94    |                0          32 KB  nvidia/label/cuda-12.0.0
nsight-compute-2022.4.0.15 |                0       598.6 MB  nvidia/label/cuda-12.0.0
------------------------------------------------------------
                                       Total:        1.80 GB
</code></pre>
<p>The following NEW packages will be INSTALLED:</p>
<p>cuda               nvidia/label/cuda-12.0.0/win-64::cuda-12.0.0-0<br>
cuda-cccl          nvidia/label/cuda-12.0.0/win-64::cuda-cccl-12.0.90-0<br>
cuda-command-line~ nvidia/label/cuda-12.0.0/win-64::cuda-command-line-tools-12.0.0-0<br>
cuda-compiler      nvidia/label/cuda-12.0.0/win-64::cuda-compiler-12.0.0-0<br>
cuda-cudart        nvidia/label/cuda-12.0.0/win-64::cuda-cudart-12.0.107-0<br>
cuda-cudart-dev    nvidia/label/cuda-12.0.0/win-64::cuda-cudart-dev-12.0.107-0<br>
cuda-cuobjdump     nvidia/label/cuda-12.0.0/win-64::cuda-cuobjdump-12.0.76-0<br>
cuda-cupti         nvidia/label/cuda-12.0.0/win-64::cuda-cupti-12.0.90-0<br>
cuda-cuxxfilt      nvidia/label/cuda-12.0.0/win-64::cuda-cuxxfilt-12.0.76-0<br>
cuda-demo-suite    nvidia/label/cuda-12.0.0/win-64::cuda-demo-suite-12.0.76-0<br>
cuda-documentation nvidia/label/cuda-12.0.0/win-64::cuda-documentation-12.0.76-0<br>
cuda-libraries     nvidia/label/cuda-12.0.0/win-64::cuda-libraries-12.0.0-0<br>
cuda-libraries-dev nvidia/label/cuda-12.0.0/win-64::cuda-libraries-dev-12.0.0-0<br>
cuda-nsight-compu~ nvidia/label/cuda-12.0.0/win-64::cuda-nsight-compute-12.0.0-0<br>
cuda-nvcc          nvidia/label/cuda-12.0.0/win-64::cuda-nvcc-12.0.76-0<br>
cuda-nvdisasm      nvidia/label/cuda-12.0.0/win-64::cuda-nvdisasm-12.0.76-0<br>
cuda-nvml-dev      nvidia/label/cuda-12.0.0/win-64::cuda-nvml-dev-12.0.76-0<br>
cuda-nvprof        nvidia/label/cuda-12.0.0/win-64::cuda-nvprof-12.0.90-0<br>
cuda-nvprune       nvidia/label/cuda-12.0.0/win-64::cuda-nvprune-12.0.76-0<br>
cuda-nvrtc         nvidia/label/cuda-12.0.0/win-64::cuda-nvrtc-12.0.76-0<br>
cuda-nvrtc-dev     nvidia/label/cuda-12.0.0/win-64::cuda-nvrtc-dev-12.0.76-0<br>
cuda-nvtx          nvidia/label/cuda-12.0.0/win-64::cuda-nvtx-12.0.76-0<br>
cuda-nvvp          nvidia/label/cuda-12.0.0/win-64::cuda-nvvp-12.0.90-0<br>
cuda-opencl        nvidia/label/cuda-12.0.0/win-64::cuda-opencl-12.0.76-0<br>
cuda-opencl-dev    nvidia/label/cuda-12.0.0/win-64::cuda-opencl-dev-12.0.76-0<br>
cuda-profiler-api  nvidia/label/cuda-12.0.0/win-64::cuda-profiler-api-12.0.76-0<br>
cuda-runtime       nvidia/label/cuda-12.0.0/win-64::cuda-runtime-12.0.0-0<br>
cuda-sanitizer-api nvidia/label/cuda-12.0.0/win-64::cuda-sanitizer-api-12.0.90-0<br>
cuda-toolkit       nvidia/label/cuda-12.0.0/win-64::cuda-toolkit-12.0.0-0<br>
cuda-tools         nvidia/label/cuda-12.0.0/win-64::cuda-tools-12.0.0-0<br>
cuda-visual-tools  nvidia/label/cuda-12.0.0/win-64::cuda-visual-tools-12.0.0-0<br>
libcublas          nvidia/label/cuda-12.0.0/win-64::libcublas-12.0.1.189-0<br>
libcublas-dev      nvidia/label/cuda-12.0.0/win-64::libcublas-dev-12.0.1.189-0<br>
libcufft           nvidia/label/cuda-12.0.0/win-64::libcufft-11.0.0.21-0<br>
libcufft-dev       nvidia/label/cuda-12.0.0/win-64::libcufft-dev-11.0.0.21-0<br>
libcurand          nvidia/label/cuda-12.0.0/win-64::libcurand-10.3.1.50-0<br>
libcurand-dev      nvidia/label/cuda-12.0.0/win-64::libcurand-dev-10.3.1.50-0<br>
libcusolver        nvidia/label/cuda-12.0.0/win-64::libcusolver-11.4.2.57-0<br>
libcusolver-dev    nvidia/label/cuda-12.0.0/win-64::libcusolver-dev-11.4.2.57-0<br>
libcusparse        nvidia/label/cuda-12.0.0/win-64::libcusparse-12.0.0.76-0<br>
libcusparse-dev    nvidia/label/cuda-12.0.0/win-64::libcusparse-dev-12.0.0.76-0<br>
libnpp             nvidia/label/cuda-12.0.0/win-64::libnpp-12.0.0.30-0<br>
libnpp-dev         nvidia/label/cuda-12.0.0/win-64::libnpp-dev-12.0.0.30-0<br>
libnvjitlink       nvidia/label/cuda-12.0.0/win-64::libnvjitlink-12.0.76-0<br>
libnvjitlink-dev   nvidia/label/cuda-12.0.0/win-64::libnvjitlink-dev-12.0.76-0<br>
libnvjpeg          nvidia/label/cuda-12.0.0/win-64::libnvjpeg-12.0.0.28-0<br>
libnvjpeg-dev      nvidia/label/cuda-12.0.0/win-64::libnvjpeg-dev-12.0.0.28-0<br>
libnvvm-samples    nvidia/label/cuda-12.0.0/win-64::libnvvm-samples-12.0.94-0<br>
nsight-compute     nvidia/label/cuda-12.0.0/win-64::nsight-compute-2022.4.0.15-0</p>
<p>The following packages will be UPDATED:</p>
<p>ca-certificates    conda-forge::ca-certificates-2022.12.~ → pkgs/main::ca-certificates-2023.01.10-haa95532_0<br>
openssl                                 1.1.1s-h2bbff1b_0 → 1.1.1t-h2bbff1b_0</p>
<p>The following packages will be SUPERSEDED by a higher-priority channel:</p>
<p>certifi            conda-forge/noarch::certifi-2022.12.7~ → pkgs/main/win-64::certifi-2022.12.7-py39haa95532_0</p>
<p>Proceed ([y]/n)?</p>
<p>Downloading and Extracting Packages</p>
<p>CondaHTTPError: HTTP 000 CONNECTION FAILED for url <a href="https://conda.anaconda.org/nvidia/label/cuda-12.0.0/win-64/cuda-nvdisasm-12.0.76-0.tar.bz2" rel="noopener nofollow ugc">https://conda.anaconda.org/nvidia/label/cuda-12.0.0/win-64/cuda-nvdisasm-12.0.76-0.tar.bz2</a><br>
Elapsed: -</p>
<p>An HTTP error occurred when trying to retrieve this URL.<br>
HTTP errors are often intermittent, and a simple retry will get you on your way.</p>
<p>CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CancelledError()<br>
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <a href="https://conda.anaconda.org/nvidia/label/cuda-12.0.0/win-64/libnpp-dev-12.0.0.30-0.tar.bz2" rel="noopener nofollow ugc">https://conda.anaconda.org/nvidia/label/cuda-12.0.0/win-64/libnpp-dev-12.0.0.30-0.tar.bz2</a><br>
Elapsed: -</p>
<p>An HTTP error occurred when trying to retrieve this URL.<br>
HTTP errors are often intermittent, and a simple retry will get you on your way.</p>

ptrblck: <p>Based on the error, it seems your <code>conda</code> environment has trouble downloading a file. I’ve just tested it on my machine and can properly download it. If you are hitting this issue still you might need to check your network/proxy settings and see if <code>conda</code> is allowed to download files.<br>
Also, this issue seems generally unrelated to PyTorch since the PyTorch conda binaries will download the needed dependencies while you are trying to manually install the <code>cuda</code> conda binaries.</p>