0
我剛剛在Windows 2003服務器上安裝了Python 2.7和easy_install-2.7.exe,然後將%PATH%設置爲C:\ Python27; C:\ Python27 \ Scripts ;.然後我嘗試用easy_install安裝python包,但easy_install失敗。失敗如下:在Windows上Python的「easy_install」 - HtmlCSSInclude
C:\>easy_install HtmlCssInclude
Searching for HtmlCssInclude
Reading http://pypi.python.org/simple/HtmlCssInclude/
Best match: HtmlCssInclude 0.1.2
Downloading http://pypi.python.org/packages/source/H/HtmlCssInclude/HtmlCssInclu
de-0.1.2.tar.gz#md5=0b4438bf62ae66842a514dcff67c0cd7
Processing HtmlCssInclude-0.1.2.tar.gz
Running HtmlCssInclude-0.1.2\setup.py -q bdist_egg --dist-dir c:\docume~1\admini
~1\locals~1\temp\1\easy_install-qpossf\HtmlCssInclude-0.1.2\egg-dist-tmp-haku7q
C:\Python27\Lib\distutils\dist.py:267: UserWarning: Unknown distribution option:
'auther'
warnings.warn(msg)
warning: no files found matching 'testdata'
error: Setup script exited with error: can't copy 'sample.css': doesn't exist or
not a regular file
有人請幫助我。
只是要確定 - 你安裝了lxml嗎? –
是的。安裝了版本lxml-2.2.8.win32-py2.7.exe – Prajilal
請幫我解決這個問題 – Prajilal