包安装python - Dom.pulldom错误

时间:2014-10-03 18:12:57

标签: python anaconda

我尝试安装一个在另一台PC上运行良好的软件包,但是当我安装时,我会遇到以下错误。

有人知道如何纠正这个错误吗?

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

1 个答案:

答案 0 :(得分:0)

由于您使用的是anaconda,因此您应该使用其安装工具。请尝试以下之一:

conda install events

conda install Events-0.1.0.tar.gz 

或者调用您下载的tar文件。另见: