我无法在 python 环境中安装 libxml 来安装 sofort\npython: Python 3.7.3\n已经做了: apt-get --reinstalll install python-dev libxml2-dev libxslt1-dev zlib1g-dev\n当尝试安装 libxml 时,它会调用关于 PyObject 的错误有这样的错误
\n\n398 (PY_VERSION_HEX >= 0x030600B1 && (cfunc)->flag == METH_FASTCALL ? (*(__Pyx_PyCFunctionFast)(cfunc)->func)(self, &PyTuple_GET_ITEM(__pyx_empty_tuple, 0), 0, NULL)\n\nRun Code Online (Sandbox Code Playgroud)\n\n长输出:
\n\nCollecting sofort\n Using cached https://files.pythonhosted.org/packages/8d/85/b51f32001315aed58dc7db71fc558b0c14b2f311f18292854f2981826910/sofort-0.4.3-py3-none-any.whl\nCollecting lxml<4.0,>=3.5 (from sofort)\n Using cached https://files.pythonhosted.org/packages/20/b3/9f245de14b7696e2d2a386c0b09032a2ff6625270761d6543827e667d8de/lxml-3.8.0.tar.gz\nRequirement already satisfied: requests<3.0,>=2.9 in ./env/lib/python3.7/site-packages (from sofort) (2.22.0)\nRequirement already satisfied: schematics<2.0,>=1.1 in ./env/lib/python3.7/site-packages (from sofort) (1.1.3)\nRequirement already satisfied: xmltodict<1.0,>=0.9 in ./env/lib/python3.7/site-packages (from sofort) (0.12.0)\nRequirement already satisfied: iso8601<1.0,>=0.1 in ./env/lib/python3.7/site-packages (from sofort) (0.1.12)\nRequirement …Run Code Online (Sandbox Code Playgroud)