An error occurred while using dataset to download the dataset
urllib.error.URLError:urlopen error unknown url type:https
Considering that there is no import ssl, add the following command
**import ssl
ssl._create_default_https_context = ssl._create_unverified_context**
Run again to import ssl
import ssl report an error: DLL load fail error
Solution:
First, configure the environment variable, find the current python installation directory, and add the following three paths to the PATH of the system variable
**E:\Anaconda3\envs\pytorch; #python.exe所在路径
E:\Anaconda3\envs\pytorch\Scripts;
E:\Anaconda3\envs\pytorch\Library\bin**
Then find the files libcrypto-1_1.dll and libssl-1_1.dll in the bin folder and copy them to the DLLs path.
This solves the download problem
Read More:
- [Solved] jink Download Error: Failed to download RAMCode. Failed to prepare for programming.
- [Solved] Error: Failed to download metadata for repo ‘docker-ce-stable‘: Cannot download repomd.xml:
- [Solved] stm32 Failed to Download: Error: Flash Download failed – “Cortex-M3”
- [Solved] torchvision.models.resnet18() Error: PytorchStreamReader failed reading zip archive: failed finding…
- ST-LINK Download Program Error: flash download failed – ‘cortex m4‘
- [Solved] STM32 Use DAP to Download Error: Error: Flash Download failed – “Cortex-M3“
- [Solved] dockerfile Build Image Error: Error: Failed to download metadata for repo ‘appstream’…
- [Solved] Error: Flash Download failed – “Cortex-M3“
- [Solved] Error:Flash Download failed -“Cortex-M3”
- [Solved] Android12 Download Error: The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
- Download and save uniapp pictures to Android error reporting app
- [Solved] Keil5 burn STM32F chip Error: error: Flash download failed – “cortex-m4″“
- [Solved] Keil Error: Error: Flash Download failed – “Cortex-M4“
- [Solved] No corresponding flash error is found during MDK download
- RT thread download compilation error: Error: Unable to reset MCU!
- Zchunk error: Unable to find multipart download range error in dnf update
- [Solved] Go Get Download Dependency Error: is not using a known version control system
- [Solved] docker failed to solve: failed to solve with frontend dockerfile.v0: failed to create LLB definition
- [Solved] ZYNQ download program error: Memory write error at 0x100000. APB
- mainfest Image Error: (img/icons/andriod-chrome-192×192.png)Download error or resource isn’t a vaild image