Open utterances-bot opened 2 years ago
我尝试了这段代码,发现系统有一个 "DeprecationWarning" 提示
>>> from distutils.sysconfig import get_python_lib
<stdin>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<stdin>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
目前代码还是可以执行的,就是第一次会出现提示信息。 希望作者可以添加更新后的代码。
谢谢。
1.13 site-packages和 dist-packages — Python黑魔法手册 1.0.0 documentation
https://magic.iswbm.com/c01/c01_13.html