当前位置: 首页 > 工具软件 > Nemo > 使用案例 >

Centos安装nemo_toolkit[all]

况鸿雪
2023-12-01


1.更新yum

yum -y update 

2.安装yum扩展

yum -y install epel-release

3.安装ffmpeg

rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
yum install ffmpeg ffmpeg-devel -y

4.安装libsndfile

yum install -y libsndfile

5.安装gcc gcc-c++


yum -y install bzip2


6.安装python

yum -y install zlib-devel bzip2-devel libffi-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make wget \
&& yum clean all \
&& mkdir /usr/local/python3

# copy下载好的python到指定目录,要3.8+
cp Python-3.8.1.tar.xz /usr/local/python3/

cd /usr/local/python3 \
&& tar -xvJf  Python-3.8.1.tar.xz \
&& cd Python-3.8.1 \
&& ./configure prefix=/usr/local/python3 \
&& make && make install \
&& ln -s /usr/local/python3/bin/python3.8 /usr/local/bin/python \
&& ln -s /usr/local/python3/bin/pip3 /usr/local/bin/pip

# pip换源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
python -v
# 更新pip
python -m pip install -U pip && python -m pip install -U setuptools

7.安装Cython

pip install Cython

8.安装nemo_toolkit[all]

pip install nemo_toolkit[all]

 类似资料: