如何在Windows上为Python安装html5lib-0.90库?

2 投票
1 回答
5242 浏览
提问于 2025-04-15 19:25

我在用Windows系统,想在Python上安装html5lib-0.90这个库。

C:\>python C:\Users\Junior\Downloads\Python\html5lib-0.90\setup.py install
Traceback (most recent call last):
File "C:\Users\Junior\Downloads\Python\html5lib-0.90\setup.py", line 36, in <module>
for name in os.listdir(os.path.join('src','html5lib'))
WindowsError: [Error 3] The system cannot find the path specified: 'src\\html5lib/*.*'

请问在Windows上能安装这个库吗?

有没有教程或者安装手册呢?

1 个回答

6

试试:

C:\>cd \Users\Junior\Downloads\Python\html5lib-0.90\
C:\Users\Junior\Downloads\Python\html5lib-0.90>python setup.py install

撰写回答