什么是--use-feature=2020-resolver?在 ubuntu 上安装 jupyter 的错误消息 [英] what is --use-feature=2020-resolver? error message with jupyter installation on ubuntu

查看:27
本文介绍了什么是--use-feature=2020-resolver?在 ubuntu 上安装 jupyter 的错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 ubuntu 16.04.6 x64 上的数字海洋水滴上安装 jupyter.它给了我以下错误消息,我不明白这是什么意思.

I'm trying to install jupyter on ubuntu 16.04.6 x64 on digital ocean droplet. It is giving me the following error message, and I can't understand what this means.

ERROR: After October 2020 you may experience errors when installing or updating package
s. This is because pip will change the way that it resolves dependency conflicts. 

We recommend you use --use-feature=2020-resolver to test your packages with the new res
olver before it becomes the default.
 
jsonschema 3.2.0 requires six>=1.11.0, but you'll have six 1.10.0 which is incompatible

任何帮助将不胜感激!

推荐答案

根据 本公告,pip 将在 2020 年 10 月引入一个新的依赖解析器,它会更强大,但可能会破坏一些现有的设置.因此,他们建议用户使用此选项至少尝试运行一次 pip 安装脚本(在开发模式下):--use-feature=2020-resolver在 2020 年 10 月使用 pip 版本 20.3 的新解析器成为默认值之前预测任何潜在问题.

According to this announcement, pip will introduce a new dependency resolver in October 2020, which will be more robust but might break some existing setups. Therefore they are suggesting users to try running their pip install scripts at least once (in dev mode) with this option: --use-feature=2020-resolver to anticipate any potential issue before the new resolver becomes the default in October 2020 with pip version 20.3.

我代表 PyPA 很高兴地宣布,我们刚刚发布了 pip 20.2,这是 pip 的新版本.您可以通过运行 python -m pip install --upgrade pip 来安装它.

On behalf of the PyPA, I am pleased to announce that we have just released pip 20.2, a new version of pip. You can install it by running python -m pip install --upgrade pip.

此版本的亮点是:

  • 下一代依赖解析器的测试版可用
  • 更快地从轮文件安装
  • 改进了对包含非 ASCII 文件内容的轮子的处理
  • 使用并行网络操作更快的 pip 列表
  • 已安装的软件包现在包含有关它们是否直接安装的元数据由用户请求(PEP 376 的请求文件)

默认情况下,新的依赖解析器处于关闭状态,因为它尚未准备好供日常使用.

The new dependency resolver is off by default because it is not yet ready for everyday use.

新的依赖解析器在收到不兼容的指令时更加严格和一致,并减少对某些类型的约束文件的支持,因此一些变通方法和工作流程可能会中断.请使用 --use-feature=2020-resolver 标志对其进行测试.请参阅 我们关于如何测试和迁移以及如何报告问题的指南.我们正准备更改默认的依赖项解析行为,并使新的解析器成为 pip 20.3(2020 年 10 月)中的默认值.

The new dependency resolver is significantly stricter and more consistent when it receives incompatible instructions, and reduces support for certain kinds of constraints files, so some workarounds and workflows may break. Please test it with the --use-feature=2020-resolver flag. Please see our guide on how to test and migrate, and how to report issues . We are preparing to change the default dependency resolution behavior and make the new resolver the default in pip 20.3 (in October 2020).

这篇关于什么是--use-feature=2020-resolver?在 ubuntu 上安装 jupyter 的错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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