pycharm怎么安装第三方库

pycharm怎么安装第三方库
用的是pycharm2024.1.4的版本用fiel—setting-project Interpreter—第三方库总是显示错误。代码本身的前后是这样的①前面import pandas as pdimport numpy as npimport matplotlib.pyplot as pltimport seaborn as snsfrom statsmodels.tsa.stattools import acffrom statsmodels.stats.diagnostic import acorr_ljungboxfrom statsmodels.stats.outliers_influence import variance_inflation_factorimport statsmodels.api as sm②后面py -m pip install pandas numpy matplotlib seaborn statsmodels scipy openpyxl -i https://pypi.tuna.tsinghua.edu.cn/simple --userpython -m pip install matplotlib seaborn -i https://pypi.tuna.tsinghua.edu.cn/simple --userpython -m pip install matplotlib seaborn -i https://pypi.tuna.tsinghua.edu.cn/simple --userpython -m pip install pandas numpy matplotlib seaborn statsmodels scipy openpyxl -i https://pypi.tuna.tsinghua.edu.cn/simple --user我问了一下别人说是因为我第三方库没安装成功。