WSL下的OpenSSL 3.0 Legacy错误

最近在启动wsl时候总会出现Error while loading conda entry point: conda-content-trust (OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration.)的报错,不是大问题,很好解决。

解决方法

echo 'export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1' >> ~/.zshrc 
posted @ 2024-12-27 10:25  K0maru  阅读(385)  评论(0)    收藏  举报