# 创建虚拟环境
conda create -n data-analysis python=3.9
# 进入虚拟环境(老版本支持)
source activate data-analysis
# 下面的是最新版本conda所支持的命令
conda activate data-analysis
# 退出环境
conda deactivate
# 安装指定包
conda install -n data-analysis jupyterlab
conda install -n data-analysis numpy pandas matplotlib seaborn
conda install -c conda-forge pyqt6-webengine
# 卸载指定安装包:例如卸载pyqt5-sip
conda uninstall -n data-analysis pyqt5-sip
conda uninstall -n data-analysis pyside2
conda安装pyqt相关组件包
# 安装pyqt5对应的浏览器引擎包
conda install -c conda-forge PyQtWebEngine
conda install -c conda-forge pyqt5-sip
conda install -c conda-forge pyqt5
conda install -n data-analysis pyqt6
conda install -n data-analysis pyqt6-sip
conda install -n data-analysis PyQtWebEngine
# apt方式安装
sudo apt install python3-pyqt6
标签:sip,analysis,指令,conda,pyqt5,install,相关,data
From: https://www.cnblogs.com/huaibin/p/17437605.html