[Python-modules-team] Bug#795011: virtualenv does not work with a path containing special characters

Pierre Rudloff contact at rudloff.pro
Sun Aug 9 13:41:20 UTC 2015


Package: virtualenv
Version: 1.11.6+ds-1
Severity: normal

Hello,

virtualenv does not work when the path contains special characters:

Running virtualenv with interpreter /usr/bin/python2
New python executable in venv/bin/python2
Not overwriting existing python script venv/bin/python (you must use
venv/bin/python2)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14:
ordinal not in range(128)
ERROR: The executable venv/bin/python2 is not functioning
ERROR: It thinks sys.prefix is
u'/home/pierre/T\xe9l\xe9chargements/letsencrypt' (should be
u'/home/pierre/T\xe9l\xe9chargements/letsencrypt/venv')
ERROR: virtualenv is not compatible with this system or executable

It does work correctly with a path containing only ascii characters.

Regards,



-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages virtualenv depends on:
ii  python3             3.4.2-2
ii  python3-virtualenv  1.11.6+ds-1

virtualenv recommends no packages.

virtualenv suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list