abaqus python 安装第三方库

  1. 打开abaqus command

  2. D:\abaqus\temp>abaqus python -m pip list  # 查看安装包列表
    D:\abaqus\software\SIMULIA\EstProducts\2022\win_b64\code\bin\SMAPython.exe: No module named pip

    D:\abaqus\temp>abaqus python -m ensurepip --upgrade  # 用ensure包安装pip
    Collecting setuptools
    Collecting pip
    Installing collected packages: setuptools, pip
    Successfully installed pip-9.0.3 setuptools-39.0.1

    D:\abaqus\temp>abaqus python -m pip --version  # 查看pip的version
    pip 9.0.3 from D:\abaqus\software\SIMULIA\EstProducts\2022\win_b64\tools\SMApy\python2.7\lib\site-packages (python 2.7)

    D:\abaqus\temp>abaqus python -m pip install joblib  # 用pip安装joblib库
    Successfully installed joblib-0.14.1

  3. 在cae中import joblib未报错

(1条)
默认 最新
感谢分享
评论 1 点赞 1
点赞 7 评论 2 收藏 6
关注