junyanz / pytorch-CycleGAN-and-pix2pix

Image-to-Image Translation in PyTorch
Other
23.09k stars 6.32k forks source link

[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed - error while running the server on macOS #1603

Open foxtrotdev opened 1 year ago

foxtrotdev commented 1 year ago

For macOS users, it's highly likely that they may encounter the SSL: CERTIFICATE_VERIFY_FAILED problem when starting the visdom server.

Fortunately, there is a remedy. Depending on the Python version in use (mine is 3.9), attempt to execute the following command to install certificates:

 /Applications/Python\ 3.9/Install\ Certificates.command 

Then you should be able to run the server without any other issues.