V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  dreampython  ›  全部回复第 6 页 / 共 6 页
回复总数  106
1  2  3  4  5  6  
2018-02-21 11:36:17 +08:00
回复了 dreampython 创建的主题 Python pip 安装 bleach 报错,求助
单独安装 html5lib,执行 pip install html5lib,报错如下:
<pre>
------------------------------------------------------------
/root/maodou/venv/bin/pip run on Wed Feb 21 11:33:50 2018
Downloading/unpacking html5lib
。。。。
Running setup.py egg_info for package html5lib

Traceback (most recent call last):

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

File "/root/maodou/venv/build/html5lib/setup.py", line 54, in <module>

MarkerEvaluation = pkg_resources.MarkerEvaluation

AttributeError: 'module' object has no attribute 'MarkerEvaluation'

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

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

File "/root/maodou/venv/build/html5lib/setup.py", line 54, in <module>

MarkerEvaluation = pkg_resources.MarkerEvaluation

AttributeError: 'module' object has no attribute 'MarkerEvaluation'

----------------------------------------

Cleaning up...

Removing temporary dir /root/maodou/venv/build...
Command python setup.py egg_info failed with error code 1 in /root/maodou/venv/build/html5lib

Exception information:
Traceback (most recent call last):
File "/root/maodou/venv/lib/python2.7/site-packages/pip/basecommand.py", line 134, in main
status = self.run(options, args)
File "/root/maodou/venv/lib/python2.7/site-packages/pip/commands/install.py", line 236, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/root/maodou/venv/lib/python2.7/site-packages/pip/req.py", line 1134, in prepare_files
req_to_install.run_egg_info()
File "/root/maodou/venv/lib/python2.7/site-packages/pip/req.py", line 259, in run_egg_info
command_desc='python setup.py egg_info')
File "/root/maodou/venv/lib/python2.7/site-packages/pip/util.py", line 670, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /root/maodou/venv/build/html5lib
</pre>
2018-02-19 16:45:01 +08:00
回复了 hardman 创建的主题 职场话题 你们公司公积金都给你们交多少
现在公司 12%,还是非常不错的,就西安来说,很多公司都是缴最低的 5%,就这一点差别就差好多钱
2018-01-18 12:24:47 +08:00
回复了 xiaottt 创建的主题 问与答 有什么推荐非技术类的,但是很值得看的书?
《软技能:代码之外的生存指南》
2018-01-08 18:24:03 +08:00
回复了 bingod 创建的主题 Python 2018 年,你选择 Flask 还是 Django?
学习 python 半年了,就用过 flask,个人感觉很好用,入门很容易; django 以后有机会可以研究下
有闲有钱就半包,没闲没钱就全包
1  2  3  4  5  6  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2594 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 15:33 · PVG 23:33 · LAX 07:33 · JFK 10:33
Developed with CodeLauncher
♥ Do have faith in what you're doing.