コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4 返信
22281 ビュー

Hi, I get this error when I try to install an application: Odoo Server Error - Warning × Impossible to install the "web_widget_bokeh_chart" module because there is an unresolved external dependency: No module named bokeh



アバター
破棄
最善の回答

The module is python library. You can install from the link: https://pypi.org/project/bokeh/

アバター
破棄
最善の回答

pip3 install bokeh==1.1.0
アバター
破棄
最善の回答

Hi,

For the working of the module you need to have python package bokeh installed, as this is not installed/available in the system you are getting the above message. 

So install the bokeh python package first, restart the service and then try to install the module.

Thanks

アバター
破棄
著作者 最善の回答

Thanks, but I still have the same error. I run pip install bokeh and it installs correctly: 

root @ XXXXX: ~ # pip install bokeh 

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Requirement already satisfied: bokeh in /usr/local/lib/python2.7/dist-packages (0.12.7) 

Requirrment already satisfied: Jinja2> = 2.7 in /usr/local/lib/python2.7/dist-packages (from bokeh) (2.10.3) 

Requirement already satisfied: PyYAML> = 3.10 in /usr/local/lib/python2.7/dist-packages (from bokeh) (5.1.2) 

Requirement already satisfied: bkcharts> = 0.2 in /usr/local/lib/python2.7/dist-packages (from bokeh) (0.2) 

Requirement already satisfied: futures> = 3.0.3 in /usr/local/lib/python2.7/dist-packages (from bokeh) (3.3.0) 

Requirement already satisfied: numpy> = 1.7.1 in /usr/local/lib/python2.7/dist-packages (from bokeh) (1.16.5) 

Requirement already satisfied: python-dateutil> = 2.1 in /usr/local/lib/python2.7/dist-packages (from bokeh) (2.8.0) 

Requirement already satisfied: six> = 1.5.2 in /usr/local/lib/python2.7/dist-packages (from bokeh) (1.12.0) 

Requirement already satisfied: tornado> = 4.3 in /usr/local/lib/python2.7/dist-packages (from bokeh) (5.1.1)

Requirement already satisfied: MarkupSafe> = 0.23 in /usr/local/lib/python2.7/dist-packages (from Jinja2> = 2.7-> bokeh) (1.1.1) 

Requirement already satisfied: backports_abc> = 0.4 in /usr/local/lib/python2.7/dist-packages (from tornado> = 4.3-> bokeh) (0.5) 

Requirement already satisfied: singledispatch in /usr/local/lib/python2.7/dist-packages (from tornado> = 4.3-> bokeh) (3.4.0.3), 

Then I restart the Odoo service even the server, but it still gives the same error.  :( 

アバター
破棄