1、下载安装conda
wget https://repo.anaconda.com/miniconda/Miniconda3-py39_4.10.3-Linux-x86_64.sh
bash Miniconda3-py39_4.10.3-Linux-x86_64.sh
2、配置conda环境
vi /etc/profile
export PATH=/root/miniconda3/bin:$PATH
source /etc/profile
3、配置conda的仓库
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
4、在conda的base环境中,安装ifcopenshell(也可以自建其他环境)
conda install -c conda-forge -c oce -c dlr-sc -c ifcopenshell ifcopenshell
5、安装mysql数据库类库、消息队列类库
pip install PyMySQL
pip install pika
6、后台运行程序
nohup python IfcDivision.py > python.log 2>&1 &
需要IfcDivision.py程序的,可以私信沟通