Package Details: python-pefile 2019.4.18-1

Git Clone URL: (read-only, click to copy)
Package Base: python-pefile
Description: Python PE parsing module
Upstream URL:
Licenses: MIT
Submitter: Shibumi
Maintainer: BrLi
Last Packager: BrLi
Votes: 12
Popularity: 0.003535
First Submitted: 2016-03-06 00:33
Last Updated: 2019-08-02 18:40

Latest Comments

xantares commented on 2020-12-03 20:50


could the python2 variant be removed ?

I think this is past due, I dont want to have to install python2 to install a python3 package anymore


BrLi commented on 2018-11-27 16:22

@TheEbolaDoc: Please first try to clean your directory of source, make sure that no partial downloaded source exist, and build again.

The best way would be to build it inside clean chroot/container of Arch.

christian-heusel commented on 2018-11-25 13:22

The build fails for me because it cannot download from GitHub :)

kcolford commented on 2017-10-26 20:55

I got it to work by removing the LC_TYPE=en_US.UTF-8 that's before the call to the python interpreter. Please remove that environment variable setting so that our system's native environment gets used. Not all of us are from the US and speak english, so we don't all uncomment en_US.UTF-8 in our /etc/locale.gen files. We just uncomment the locale that we need (although that is another solution that worked for me).

Shibumi commented on 2017-06-01 17:17

try to build in a clean chroot.

SyS commented on 2017-06-01 02:03

Hey i'm having some errors
Traceback (most recent call last):
File "", line 57, in <module>
pefile_version = _read_attr('__version__')
File "", line 39, in _read_attr
match =,
File "/usr/lib/python3.6/encodings/", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 208687: ordinal not in range(128)
==> ERROR: A failure occurred in package_python-pefile().

Any idea why?

Shibumi commented on 2017-03-05 16:23

@fuckup same for you. Build the package in a clean chroot. This package needs a clean build environment, because of specific language settings.

Shibumi commented on 2017-03-04 12:55

Please try again. I have bumped the version. Do you build in a clean chroot? because I have no issues when I build it in a clean chroot:

B3l3tte commented on 2017-03-04 09:49

I've got this error :
Any ideas how to solve it ? Maybe it miss a dependency ? No clue :/