Odoo中文社区可以通过以下两个域名访问:shine-it.net , odoo.net.cn

由于系统升迁的原因,本论坛部分较早期的内容存在格式和链接损坏失效的问题,并非本论坛系统本身的缺陷,望谅解

本社区没有维护任何QQ群讨论组,任何与本社区同名的QQ群讨论组的言论与本社区无关!

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

docker中如何安装 pip install cairosvg



  • FROM debian:jessie,安装出现如下错误,不知如何解决
    pip install cairosvg
    Downloading/unpacking cairosvg
    Downloading CairoSVG-2.1.3.tar.gz
    Running setup.py (path:/tmp/pip-build-75wYYn/cairosvg/setup.py) egg_info for package cairosvg
    Traceback (most recent call last):
    File "", line 17, in
    File "/tmp/pip-build-75wYYn/cairosvg/setup.py", line 24, in
    with open(init_path, 'r', encoding='utf-8') as fd:
    TypeError: 'encoding' is an invalid keyword argument for this function
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

    File "", line 17, in

    File "/tmp/pip-build-75wYYn/cairosvg/setup.py", line 24, in

    with open(init_path, 'r', encoding='utf-8') as fd:
    

    TypeError: 'encoding' is an invalid keyword argument for this function


    Cleaning up...
    Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-75wYYn/cairosvg
    Storing debug log for failure in /root/.pip/pip.log

    ===============================================

    (from https://pypi.org/simple/cairosvg/)
    Running setup.py (path:/tmp/pip-build-sRHfu6/cairosvg/setup.py) egg_info for package cairosvg
    Traceback (most recent call last):
    File "", line 17, in
    File "/tmp/pip-build-sRHfu6/cairosvg/setup.py", line 24, in
    with open(init_path, 'r', encoding='utf-8') as fd:
    TypeError: 'encoding' is an invalid keyword argument for this function
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

    File "", line 17, in

    File "/tmp/pip-build-sRHfu6/cairosvg/setup.py", line 24, in

    with open(init_path, 'r', encoding='utf-8') as fd:
    

    TypeError: 'encoding' is an invalid keyword argument for this function


Log in to reply