小编eaf*_*res的帖子

弃用警告 python3.8 包

我在 Windows 11 内部版本(版本 22523)下的 WSLg 中运行 Ubuntu 20.04。当我做某些与 Python 相关的事情时,我不断收到这两个警告:

/home/eafpres/.local/lib/python3.8/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 0.23ubuntu1 is an invalid version and will not be supported in a future release
  warnings.warn(
/home/eafpres/.local/lib/python3.8/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 0.1.36ubuntu1 is an invalid version and will not be supported in a future release
  warnings.warn(
Run Code Online (Sandbox Code Playgroud)

例如,我刚刚做了: pip install plotly

并得到了这些,但安装工作正常。同样,当我启动 IDE (Spyder) 时,我也会得到它们。

我的 Ubuntu 安装有问题吗?

python

6
推荐指数
2
解决办法
1万
查看次数

标签 统计

python ×1