【问题标题】:Error CentOS 6.8 - Odoo 10 - Version xlwt错误 CentOS 6.8 - Odoo 10 - 版本 xlwt
【发布时间】:2017-05-25 09:53:29
【问题描述】:

我在Odoo 10 中安装python-xlwt 有问题。我在CentOS 中安装了Odoo10。我已经用 pip install xlwt 安装了它,但它安装了 1.0.0 版本,并且在 Odoo 10 的存档要求中,需要 1.1.2 版本。我该如何解决这个问题?

这是我的配置:

Name : python-xlwt 
Arch : x86_64 
Version : 1.0.0 
Release : 1.el6 
Size : 180 k 
Repo : forensics 
Summary : python-xlwk - a library to generate spreadsheet files compatible with 
        : Microsoft Excel versions 95 to 2003 
URL : http://pypi.python.org/pypi/xlwt 
License : GPL 
Description : python-xlwk is a library for generating spreadsheet files that are 
            : compatible with Excel 97/2000/XP/2003, OpenOffice.org Calc, and 
            : Gnumeric. xlwt has full support for Unicode. Excel spreadsheets can be 
            : generated on any platform without needing Excel or a COM server. The 
            : only requirement is Python 2.3 to 2.6. xlwt is a fork of pyExcelerator.

【问题讨论】:

    标签: openerp centos6 python-2.6 xlwt odoo-10


    【解决方案1】:

    您可以使用 pip 安装任何 python 库的特定版本,如下所示。

    如果要安装 xlwt 1.1.2 版,则需要执行如下命令。

    sudo pip install xlwt==1.1.2

    它将安装xlwt 1.1.2版本,如果已经安装了旧版本,则系统将对其进行升级,如果已安装最新版本,则系统将对其进行降级。

    【讨论】:

      猜你喜欢
      • 2017-10-06
      • 1970-01-01
      • 2017-04-17
      • 2016-12-12
      • 1970-01-01
      • 2017-04-20
      • 2020-09-29
      • 1970-01-01
      • 2018-10-13
      相关资源
      最近更新 更多