“iconv。h:在尝试安装Python包时没有这样的文件

时间:2021-03-07 17:41:51

I am a Windows user but I wanted to use the iconv Linux command line, used in order to convert file from one encoding to an other. Moreover, I wanted to use this in one of my Python 2.7 program.

我是一个Windows用户,但我想使用iconv Linux命令行,用来将文件从一个编码转换成另一个编码。而且,我想在我的Python 2.7程序中使用它。

So I found this package.

所以我找到了这个包裹。

Using the cmd Command Prompt and after solving the "Unable to find vcvarsall.bat" (VS 2013) issue, I now have an error message saying:

使用cmd命令提示符,在解决“无法找到vcvarsall”之后。bat (VS 2013)问题,我现在有一条错误消息说:

iconvmodule.c(1): fatal error C1083: Cannot open include file: 'iconv.h': No such file or directory

c(1):致命错误C1083:无法打开包含文件:'iconv。没有这样的文件或目录。

Can someone explain to me how to fix this please?

谁能给我解释一下怎么修这个吗?

1 个解决方案

#1


2  

Maybe you should compile libiconv library first. iconv.h lives in libiconv.

也许你应该先编译libiconv库。iconv。h住在libiconv。

The guide is here.

该指南在这里。

#1


2  

Maybe you should compile libiconv library first. iconv.h lives in libiconv.

也许你应该先编译libiconv库。iconv。h住在libiconv。

The guide is here.

该指南在这里。