2014-10-03 226 views
0

我嘗試安裝一個在另一臺PC上運行良好的軟件包,但是當我安裝時出現以下錯誤。軟件包安裝蟒蛇 - Dom.pulldom錯誤

有沒有人有任何想法honw糾正這個錯誤?

C:\Users\events\distribution\events-0.1\events-0.1>python setup.py install 
running install 
Traceback (most recent call last): 
    File "setup.py", line 13, in <module> 
    keywords = "" 
    File "C:\Anaconda\lib\distutils\core.py", line 151, in setup 
    dist.run_commands() 
    File "C:\Anaconda\lib\distutils\dist.py", line 953, in run_commands 
    self.run_command(cmd) 
    File "C:\Anaconda\lib\distutils\dist.py", line 972, in run_command 
    cmd_obj.run() 
    File "C:\Anaconda\lib\site-packages\setuptools-5.8-py2.7.egg\setuptools\comman 
d\install.py", line 67, in run 
    File "C:\Anaconda\lib\site-packages\setuptools-5.8-py2.7.egg\setuptools\comman 
d\install.py", line 98, in do_egg_install 
    File "C:\Anaconda\lib\site-packages\setuptools-5.8-py2.7.egg\setuptools\dist.p 
y", line 388, in get_command_class 
    File "C:\Anaconda\lib\site-packages\setuptools-5.8-py2.7.egg\pkg_resources.py" 
, line 2171, in load 
    File "C:\Anaconda\lib\site-packages\setuptools-5.8-py2.7.egg\setuptools\comman 
d\easy_install.py", line 45, in <module> 
    File "C:\Anaconda\lib\site-packages\setuptools-5.8-py2.7.egg\setuptools\comman 
d\egg_info.py", line 14, in <module> 
    File "C:\Anaconda\lib\site-packages\setuptools-5.8-py2.7.egg\setuptools\comman 
d\sdist.py", line 9, in <module> 
    File "C:\Anaconda\lib\site-packages\setuptools-5.8-py2.7.egg\setuptools\svn_ut 
ils.py", line 7, in <module> 
ImportError: No module named dom.pulldom 

回答

0

由於您使用的是anaconda,因此您應該使用它的安裝工具。儘量不要使用以下之一:

conda install events 

conda install Events-0.1.0.tar.gz 

或任何你下載的tar文件被調用。另請參見: