如何破坏
在对命令行进行疑难解答时尝试ssh root@ip
进入docker
,我似乎已经弄错了openssl
,不知何故。
我现在可以连接到docker
,但我无法再运行需要requests
的脚本。
第一次尝试
起初我不知道出了什么问题。如果我运行script.py
,它就会停止并无声地失败。
第二次尝试
然后我尝试在安装了conda
的{{1}} env
内运行相同的脚本,这次错误很详细,结束于:
openssl
openssl upgrade
然后我尝试使用NetworkError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)
在系统范围内升级它,之后我得到了以下注意事项:
brew upgrade openssl
我做到了。
我的A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
有:
.ssh/
任何线索?请帮忙
答案 0 :(得分:0)
问题是导入的名为billboard.py
的库。
此导入导致问题并暂停程序,原因需要进一步调查。
详细错误是因为conda env没有运行该程序的所有requeriments。