乐知付加密服务平台

如果你有资源, 平台可以帮你实现内容变现, 无需搭建知识付费服务平台。

点击访问官方网站 https://lezhifu.cc

扫码关注公众号 乐知付加密服务平台-微信公众号
linux安装magick | chenzuoli's blog

linux安装magick

linux安装magick。

docker pull centos:7
docker run –name python3_test -it centos:7 bash

安装python

yum install python3

安装magick

yum install ImageMagick -y

convert -version

identify -version

安装pip

安装ffmpeg:

下载:https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
yum localinstall –nogpgcheck rpmfusion-free-release-7.noarch.rpm
yum install ffmpeg ffmpeg-devel -y

问题

  1. The headers or library files could not be found for zlib,
    yum install zlib-devel -y
  2. The headers or library files could not be found for jpeg,
    

yum install libjpeg* zlib libtiff -y

  1. unable to execute 'gcc': No such file or directory
    

    yum -y install gcc

  2. src/_imagingmath.c:16:20: fatal error: Python.h: No such file or directory
    

    yum install python3-devel -y

  3. ModuleNotFoundError: No module named ‘numpy.typing’

  4. ModuleNotFoundError: No module named ‘ffmpy’
    pip3 install ffmpy

  5. Could not import runpy module


欢迎关注微信公众号,您的资源可变现:【乐知付加密平台】


乐知付加密平台

一起学习,一起进步。

-------------本文结束感谢您的阅读-------------