"当我安装 autopy 时" /> "当我安装 autopy 时 - 且购网" />

且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我已经安装了libpng,但是出现一个错误"找不到“png.h"文件#include "当我安装 autopy 时

更新时间:2023-11-22 16:35:04

尝试:

sudo apt-get install libpng-dev

我现在正在安装 autopy,并停留在同一步骤.安装libpng-dev后,问题解决.:)

I am installing autopy right now, and stuck at the same step. And after installing libpng-dev, the problem resolved. :)

安装autopy的完整过程如下

The full process to install autopy is as follow

  1. sudo apt-get install libx11-dev解决#include"未找到错误
  2. sudo apt-get install libxtst-dev 解决#include"未找到错误
  3. sudo apt-get install libpng-dev 解决#include"未找到错误
  4. easy_install autopy
  1. sudo apt-get install libx11-dev to resolve "#include " not found error
  2. sudo apt-get install libxtst-dev to resolve "#include " not found error
  3. sudo apt-get install libpng-dev to resolve "#include " not found error
  4. easy_install autopy