通过conda安装软件包时,奇怪的重复序列打印到控制台 [英] Weird repeated sequence printed to console when installing packages through conda

查看:497
本文介绍了通过conda安装软件包时,奇怪的重复序列打印到控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C:\Users\Lenovo>conda info
Current conda install:

           platform : win-64
      conda version : 4.3.8
   conda is private : False
  conda-env version : 4.3.8
conda-build version : 1.21.3
     python version : 3.5.2.final.0
   requests version : 2.12.4
   root environment : C:\Anaconda3  (writable)
default environment : C:\Anaconda3
   envs directories : C:\Anaconda3\envs
      package cache : C:\Anaconda3\pkgs
       channel URLs : https://repo.continuum.io/pkgs/free/win-64
                      https://repo.continuum.io/pkgs/free/noarch
                      https://repo.continuum.io/pkgs/r/win-64
                      https://repo.continuum.io/pkgs/r/noarch
                      https://repo.continuum.io/pkgs/pro/win-64
                      https://repo.continuum.io/pkgs/pro/noarch
                      https://repo.continuum.io/pkgs/msys2/win-64
                      https://repo.continuum.io/pkgs/msys2/noarch
        config file : None
       offline mode : False
         user-agent : conda/4.3.8 requests/2.12.4 CPython/3.5.2 Windows/7 Windows/6.1.7601

最近通过conda安装或更新软件包后,有时甚至是点后,以下顺序会打印到控制台上:

Recently when after installing or updating packages through conda and sometimes even pip the following sequence is printed to the console:

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行之后就被切断了.如果需要,我可以将整个内容打印到一个文本文件中,但是我想我先问一下.有谁知道这是什么或如何解决?

I couldn't tell you how many times this is repeated I'm running console2 and the the command history gets cut off after my 300 lines. I could print the whole thing to a text file if needed but I thought I'd ask first. Does anybody know what this is or how to fix it?

推荐答案

根据这篇文章,您可以使用pip升级到密码学1.7:

According to this post, you may upgrade to Cryptography 1.7 with pip:

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

这篇关于通过conda安装软件包时,奇怪的重复序列打印到控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆