Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


UnicodeDecodeError if no arguments given #1607

tyrylu opened this Issue · 1 comment

2 participants


When you invoke pip withoud any command, or with the help command, at least on my system, i get this:
Traceback (most recent call last):
File "C:\Python27\lib\", line 162, in run_module_as_main
", fname, loader, pkg_name)
File "C:\Python27\lib\", line 72, in run_code
exec code in run_globals
File "c:\python27\scripts\pip.exe__main_
.py", line 9, in
File "C:\Python27\lib\site-packages\", line 177, in main
cmd_name, cmd_args = parseopts(initial_args)
File "C:\Python27\lib\site-packages\", line 148, in parseopts
File "C:\Python27\lib\", line 1669, in print_help
file.write(self.format_help().encode(encoding, "replace"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 1213: ordinal not in range(128)
Note that the 0xe1 character is probably in the path of the current user's profile.
Happens on python 2.7.6, pip 1.5.4, windows 7 64-bit pro, python is 32 bit.


This should no longer be a problem in the next version of pip.

@dstufft dstufft closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.