当我创建了一个春天启动应用程序,我可以看到mvnw和mvnw.cmd文件在项目的根.这两个文件的目的是什么?
我在我的应用程序中使用openpyxl python软件包。使用相同的消息时,出现以下消息。
/usr/local/lib/python2.7/dist-packages/openpyxl/ init .py:31:用户警告:lxml的安装版本太旧,无法与openpyxl一起使用
warnings.warn(“ lxml的安装版本太旧,无法与openpyxl一起使用”)
Openpyxl需要lxml 3.2.5或更高版本,并且我的计算机中的版本是3.2.0。当我尝试将lxml升级到最新版本(即3.3.5)时,它被以下消息打断。
i686-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-i686-2.7/src/lxml/lxml.etree.o -lxslt -lexslt -lxml2 -lz -lm -o build/lib.linux-i686-2.7/lxml/etree.so
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
error: command 'i686-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Rolling back uninstall of lxml
Replacing /usr/lib/python2.7/dist-packages/lxml
Replacing /usr/lib/python2.7/dist-packages/lxml-3.2.0.egg-info
Cleaning up...
Removing temporary dir /tmp/pip_build_root...
Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip_build_root/lxml/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" …Run Code Online (Sandbox Code Playgroud)