[diffoscope] |pip install diffoscope| fails

Mattia Rizzolo mattia at debian.org
Sat Sep 16 12:02:05 CEST 2017


[TTBOMK Mike isn't subscribed to the ML, so addressing him directly]

On Fri, Sep 15, 2017 at 04:50:20PM +0200, Mike Grunweg wrote:
> on my system, trying to install diffoscope using pip fails.
> 
> STR:
> 1. Create a new virtualenv, e.g. with |virtualenv TEMP|.
> 2. Activate the virtualenv, e.g. with |source TEMP/bin/activate|.
> 3. Run |pip install diffoscope| (in the very same terminal, i.e. in the
> virtualenv just activated).
> 
> Expected results:
> Diffoscope is installed successfully and read to use.
> 
> Actual results: Installation fails. I get the following log output
> 
> $ pip install diffoscope
> Collecting diffoscope
>   Downloading diffoscope-86.tar.gz (969kB)
>     100% |████████████████████████████████| 972kB 581kB/s
>     Complete output from command python setup.py egg_info:
>     Traceback (most recent call last):
>       File "<string>", line 1, in <module>
>       File "/tmp/pip-build-Ii2qtN/diffoscope/setup.py", line 31, in <module>
>         long_description=open('README.rst', encoding='utf-8').read(),
>     TypeError: 'encoding' is an invalid keyword argument for this function
>    
>     ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in
> /tmp/pip-build-Ii2qtN/diffoscope/

Yes.
Diffoscope is a python3 program, hence you need to use pip3 or however
is called in your system.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.reproducible-builds.org/pipermail/diffoscope/attachments/20170916/4520db18/attachment.sig>


More information about the diffoscope mailing list