查看python包的安装位置及相关信息

windows 和linux均可使用,例如查看numpy的安装位置及版本等信息

pip show numpy

结果:

C:\Users\Administrator>pip show numpy
Name: numpy
Version: 1.16.2
Summary: NumPy is the fundamental package for array computing with Python.
Home-page: https://www.numpy.org
Author: Travis E. Oliphant et al.
Author-email: None
License: BSD
Location: c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages
Requires:
Required-by: scipy, scikit-learn, pandas, opencv-python, matplotlib
原创文章 32 获赞 4 访问量 7628

猜你喜欢

转载自blog.csdn.net/yrwang_xd/article/details/106117253