magic-python icon indicating copy to clipboard operation
magic-python copied to clipboard

c01/c01_13

Open utterances-bot opened this issue 2 years ago • 1 comments

1.13 site-packages和 dist-packages — Python黑魔法手册 1.0.0 documentation

https://magic.iswbm.com/c01/c01_13.html

utterances-bot avatar Apr 13 '22 02:04 utterances-bot

我尝试了这段代码,发现系统有一个 "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

目前代码还是可以执行的,就是第一次会出现提示信息。 希望作者可以添加更新后的代码。

谢谢。

hotmanga avatar Apr 13 '22 02:04 hotmanga