python 库
最后发布时间:2024-11-17 18:21:11
浏览量:
查看库文件路径
import sys
sys.version
sys.executable
sys.path
pip 安装到特定位置
pip install scipy \
-t /opt/conda/lib/python3.11/python-packages \
-i https://mirrors.aliyun.com/pypi/simple/
安装后查看
import pkg_resources
pkg_resources.get_distribution("scipy")