Since introduction of pbr, Windows users cannot install my python module

asked 2017-09-06 09:16:33 -0500

MERose gravatar image

I recently implemented pbr to manage my (GitHub repo) for a python project.

Since the switch to pbr however, the package fails to install on Windows.

Here is the complete traceback (reported (here)):

(C:\Users\sac\AppData\Local\Continuum\Anaconda3\envs\scopus) C:\Users\sac>pip install git+git://
Collecting git+git://
Cloning git:// to c:\users\sac\appdata\local\temp\1\pip-qwjphy1x-build

Complete output from command python egg_info:

Installed c:\users\sac\appdata\local\temp\1\pip-qwjphy1x-build\.eggs\pbr-3.1.1-py3.6.egg
[pbr] Generating ChangeLog
ERROR:root:Error parsing
Traceback (most recent call last):
  File "c:\users\sac\appdata\local\temp\1\pip-qwjphy1x-build\.eggs\pbr-3.1.1-py3.6.egg\pbr\", line 111, in pbr
    attrs = util.cfg_to_args(path, dist.script_args)
  File "c:\users\sac\appdata\local\temp\1\pip-qwjphy1x-build\.eggs\pbr-3.1.1-py3.6.egg\pbr\", line 251, in cfg_to_args
    kwargs = setup_cfg_to_setup_kwargs(config, script_args)
  File "c:\users\sac\appdata\local\temp\1\pip-qwjphy1x-build\.eggs\pbr-3.1.1-py3.6.egg\pbr\", line 315, in setup_cfg_to_setup_kwa
    value += + '\n\n'
  File "C:\Users\sac\AppData\Local\Continuum\Anaconda3\envs\scopus\lib\encodings\", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 23899: character maps to <undefined>
error in setup command: Error parsing C:\Users\sac\AppData\Local\Temp\1\pip-qwjphy1x-build\setup.cfg: UnicodeDecodeError: 'charmap' code
code byte 0x81 in position 23899: character maps to <undefined>

Command "python egg_info" failed with error code 1 in C:\Users\sac\AppData\Local\Temp\1\pip-qwjphy1x-build\`

All commits before the introduction of pbr work, all commits afterwards fail. How is that and can I fix this?

edit retag flag offensive close merge delete


How is this related to openstack?

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-09-06 10:41:51 -0500 )edit