2017-05-25 69 views
0

我在Odoo 10中安裝python-xlwt時遇到問題。我在CentOS中安裝了Odoo10。我已經使用pip install xlwt安裝了它,但安裝了1.0.0版本,並且在Odoo 10的存檔要求中,需要版本1.1.2。我該如何解決這個問題?錯誤CentOS 6.8 - Odoo 10 - 版本xlwt

這裏是我的配置:

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. 

回答

0

您可以使用畫中畫像下面安裝任何Python庫的具體版本。

如果你想安裝xlwt版本1.1.2,那麼你需要像下面那樣執行命令。

須藤PIP安裝xlwt == 1.1.2

它將安裝xlwt與1.1.2版本,如果已經在舊版本的安裝,則系統會升級它,如果已經有最新版本安裝,則系統會降級它。