[Python] pip UnicodeDecodeError

Balan Victor balan.victor0 a gmail.com
Lun 30 Mar 2015 10:57:50 CEST


Ciao a tutti,
dentro una imagine docker, in particolare questa
https://registry.hub.docker.com/u/cardoe/gitlab-ci-runner-python/ sto
cercando di installare django hstore con il commando

pip install django hstore

ma ottengo questo errore:

  Running setup.py
(path:/gitlab-ci-runner/tmp/builds/project-5/env/build/django-hstore/setup.py)
egg_info for package django-hstore
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File
"/gitlab-ci-runner/tmp/builds/project-5/env/build/django-hstore/setup.py",
line 38, in <module>
        long_description=open('README.rst').read(),
      File
"/gitlab-ci-runner/tmp/builds/project-5/env/lib/python3.4/encodings/ascii.py",
line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
934: ordinal not in range(128)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File
"/gitlab-ci-runner/tmp/builds/project-5/env/build/django-hstore/setup.py",
line 38, in <module>

    long_description=open('README.rst').read(),

  File
"/gitlab-ci-runner/tmp/builds/project-5/env/lib/python3.4/encodings/ascii.py",
line 26, in decode

    return codecs.ascii_decode(input, self.errors)[0]

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 934:
ordinal not in range(128)


ho googlato un po ma non trovato soluzione al mio problema.

Qualche idea?

-- 
Balan Victor
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.python.it/pipermail/python/attachments/20150330/765740d7/attachment.html>


Maggiori informazioni sulla lista Python