KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
When I tried to use pip to install Cython, I found that an error occurred while compiling. And some basic pip command also gave the same result: UnicodeDecodeError . The error messages are all like this: ─➤ pip help install Exception: Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/pip/basecommand.py", line 126, in main self.run(options, args) File "/usr/local/lib/python2.6/dist-packages/pip/commands/help.py", line 19, in run command.parser.print_help() File "/usr/lib/python2.6/optparse.py", line 1664, in print_help file.write(self.format_help().encode(encoding, "replace")) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 2964: ordinal not in range(128) I have successfully installed other packages by pip and I don't know why this occurs suddenly. Can anyone tell me how to fix this bug? Thank you! Some info: pip 1.0.2 on Ubuntu 10.04
Tags (comma-separated)
Save Edits
Cancel