pybuilder: pybuilder 0.11.12 could not be installed in Python 2.7

[INFO]  Writing MANIFEST.in as /build/python-pybuilder/src/pybuilder-0.11.12-py2/target/dist/pybuilder-0.11.12/MANIFEST.in
[INFO]  Writing setup.py as /build/python-pybuilder/src/pybuilder-0.11.12-py2/target/dist/pybuilder-0.11.12/setup.py
------------------------------------------------------------
BUILD FAILED - 'ascii' codec can't encode character u'\u201c' in position 5932: ordinal not in range(128)
------------------------------------------------------------
Build finished at 2017-11-30 23:14:44
Build took 3 seconds (3610 ms)

Python 3 installation works fine, though. The installation command I used was:

python2 setup.py install --root="$pkgdir" -O1

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 31 (30 by maintainers)

Most upvoted comments

@szaghi unrelated and duplicate #586. I’m fixing it right now.

The build path is right under /build/python-pybuilder/src/pybuilder-0.11.12-py2, which should not contain non-ascii characters.

Python 2.7.14. I am packaging pybuilder for Arch Linux, and this error was not present in 0.11.10. We don’t usually use pip here, I’ll try.