Python 通过conda安装软件包时,会将奇怪的重复序列打印到控制台 我的系统规格:

Python 通过conda安装软件包时,会将奇怪的重复序列打印到控制台 我的系统规格:,python,pip,anaconda,conda,Python,Pip,Anaconda,Conda,最近,在通过conda甚至pip安装或更新软件包后,控制台会打印以下序列: extern "Python": function Cryptography_locking_cb() called, but @ffi.def_extern( ) was not called in the current subinterpreter. Returning 0. extern "Python": function Cryptography_locking_cb

最近,在通过conda甚至pip安装或更新软件包后,控制台会打印以下序列:

extern "Python": function Cryptography_locking_cb() called, but @ffi.def_extern(
) was not called in the current subinterpreter.  Returning 0.
extern "Python": function Cryptography_locking_cb() called, but @ffi.def_extern(
) was not called in the current subinterpreter.  Returning 0.
extern "Python": function Cryptography_locking_cb() called, but @ffi.def_extern(
) was not called in the current subinterpreter.  Returning 0.
extern "Python": function Cryptography_locking_cb() called, but @ffi.def_extern(
) was not called in the current subinterpreter.  Returning 0.
... # keeps repeating
我无法告诉您这重复了多少次,因为我正在运行console2,而命令历史记录在我的300行之后被切断。如果需要的话,我可以把整件事打印成一个文本文件,但我想我应该先问一下。有人知道这是什么或如何修复吗?

根据,您可以使用pip升级到加密1.7:

pip install --upgrade pip
pip install cryptography>=1.7 --upgrade

谢谢你,圣丹斯。所以我猜这是一个复杂的解决方案,答案是;人们正在努力。如果你想尝试一下对这个问题做一个简短的总结,我会把它标记为正确答案。也许它会帮助人们解决同样的问题。我在家里有同样的问题,但在工作中没有。如果你在anaconda and cryptography<1.7中,请考虑/preference
conda安装cryptography
。这刚刚解决了我的anaconda安装中的问题,密码最初是1.4,现在升级到2。1@Raf我试图用conda更新它,但它仍然返回错误:/
pip install --upgrade pip
pip install cryptography>=1.7 --upgrade