如何修复ModuleNotFoundError:没有名为“ lxml”的模块?

时间:2019-10-05 14:54:24

标签: python macos github terminal lxml

我正在从事一个名为rabbit-escape的github项目。首选的操作系统是Linux,但Im试图在Mac上运行(开发人员说可以在Mac上运行,但难度更高)。因此,我克隆了该项目并下载了先决条件。

先决条件:You need Java, Git, Make, Sox, Inkscape and the standard Unix tools to be able to build the images, sounds and code.

我的make test终端错误:

>>make test
. Checking for warnings in Makefile
. Checking version number (0.13.1) is consistent everywhere
. Checking for use of java.awt in engine code
. Generating animations list
. Generating level lists
. Converting images
.. rabbot bin/imagessvggen/rabbot_climb_left_continue_09.svg
Traceback (most recent call last):
  File "./build-scripts/rabbit-to-rabbot", line 11, in <module>
    from lxml import etree
ModuleNotFoundError: No module named 'lxml'
make: *** [images.mk] Error 1

此外:

>>from lxml import etree from: can't read /var/mail/lxml

很抱歉,如果重复,但是我尝试了许多首选的解决方案,但是找不到确切的方式来创建自己的主题。

0 个答案:

没有答案