67 Star 260 Fork 174

伊思特科技 / whcat+wecom for odoo

 / 详情

用Docker部署odoo:15镜像,调用wecom-15.0/requirements.txt修复环境报错。

待办的
缺陷1
创建于  
2022-08-06 19:47

用Docker部署odoo:15镜像,在容器内调用wecom-15.0/requirements.txt修复环境时报错。
不太懂python的报错,好像是setuptools和lxml-to-dict==0.1.2的错误。
手动pip3 install --upgrade setuptools之后再次调用requirements.txt还是下面这个错误。

pip3 install -r /mnt/extra-addons/requirements.txt --proxy=http://172.17.0.1:8080
Collecting numpy
  Using cached numpy-1.23.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
Collecting pandas
  Using cached pandas-1.4.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.7 MB)
Collecting pypandoc==1.7.0
  Using cached pypandoc-1.7.0.tar.gz (27 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting lxml-to-dict==0.1.2
  Using cached lxml_to_dict-0.1.2.tar.gz (2.1 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s2f_kqt5/lxml-to-dict_c1bf6abea77b4be0b480e2ad72ce7e36/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s2f_kqt5/lxml-to-dict_c1bf6abea77b4be0b480e2ad72ce7e36/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-9did5fi3
         cwd: /tmp/pip-install-s2f_kqt5/lxml-to-dict_c1bf6abea77b4be0b480e2ad72ce7e36/
    Complete output (21 lines):
    /var/lib/odoo/.local/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
      warnings.warn(
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-s2f_kqt5/lxml-to-dict_c1bf6abea77b4be0b480e2ad72ce7e36/setup.py", line 7, in <module>
        setup(name='lxml_to_dict',
      File "/var/lib/odoo/.local/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
        return distutils.core.setup(**attrs)
      File "/var/lib/odoo/.local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 147, in setup
        _setup_distribution = dist = klass(attrs)
      File "/var/lib/odoo/.local/lib/python3.9/site-packages/setuptools/dist.py", line 476, in __init__
        _Distribution.__init__(
      File "/var/lib/odoo/.local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 280, in __init__
        self.finalize_options()
      File "/var/lib/odoo/.local/lib/python3.9/site-packages/setuptools/dist.py", line 900, in finalize_options
        ep(self)
      File "/var/lib/odoo/.local/lib/python3.9/site-packages/setuptools/dist.py", line 920, in _finalize_setup_keywords
        ep.load()(self, ep.name, value)
      File "/tmp/pip-install-s2f_kqt5/lxml-to-dict_c1bf6abea77b4be0b480e2ad72ce7e36/.eggs/setuptools_markdown-0.4.1-py3.9.egg/setuptools_markdown.py", line 43, in long_description_markdown_filename
        output = pypandoc.convert(markdown_filename, 'rst', format='md')
    AttributeError: module 'pypandoc' has no attribute 'convert'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/d8/ae/fa93a5ce28a721f975997567d3327e60a2513122b4c5b53ef06c452c0f7c/lxml_to_dict-0.1.2.tar.gz#sha256=a4fc9eab30614834e85b3a8eccbe19effccbbd09d9377989cb3d63a29808023e (from https://pypi.org/simple/lxml-to-dict/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement lxml-to-dict==0.1.2
ERROR: No matching distribution found for lxml-to-dict==0.1.2

评论 (0)

Etren 创建了缺陷
Etren 修改了描述
Etren 修改了标题
Etren 修改了描述
Etren 修改了描述
Etren 修改了标题
展开全部操作日志

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(1)
Python
1
https://gitee.com/wheist/wecom.git
git@gitee.com:wheist/wecom.git
wheist
wecom
whcat+wecom for odoo

搜索帮助