2010-02-17 24 views
2

我使用Windows,並試圖對蟒蛇如何在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/*.*' 

安裝html5lib-0.90庫是否可以在Windows上安裝這個庫?

是否有一個教程或安裝手冊?

回答

6

嘗試:

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

工作就像一個魅力!謝謝 – 2010-02-17 23:27:53