Tornado 安装问题 [英] Tornado Install Issue

查看:21
本文介绍了Tornado 安装问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试安装 tornado (pip install tornado) 并收到以下错误...

I'm trying to install tornado (pip install tornado) and am getting the following error...

Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_username/tornado/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-TLunUn-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_username/tornado
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    load_entry_point('pip==1.5.4', 'console_scripts', 'pip')()
  File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 185, in main
    return command.main(cmd_args)
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 161, in main
    text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 62: ordinal not in range(128)

在 Tornado 问题的背景下,我找不到任何可以解释这一点的东西......如果有人有任何想法会很棒

I haven't been able to find anything to explain this in the context of a Tornado issue... if anyone has any ideas that would be great

推荐答案

我在安装另一个程序时遇到了同样的问题.这不是解码问题,而是权限问题.请尝试以下操作:

I had the same issue while installing another program. It was not a decoding problem but a permission problem. Try the following:

    pip install --user tornado

我希望这也适用于您.

这篇关于Tornado 安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆