2.18 快速查看 Python 的环境信息 =============================== .. image:: http://image.iswbm.com/20200804124133.png 所有与 Python 相关的信息与配置,你都可以使用下面这条命令将其全部打印出来 .. code:: shell $ python -m sysconfig 信息包括: - 你当前的操作系统平台 - Python 的具体版本 - 包的搜索路径 - 以及各种环境变量 .. image:: http://image.iswbm.com/20210504114516.png