我在 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 ×1