Distributed 1.21.8 requires msgpack, which is not installed

点点圈 提交于 2019-12-02 18:07:43
Srikanth GR

I face same issue while installing dask Later I resolved it using either of these two methods.

First Method: Run this command

conda install -c anaconda msgpack-python

Second Method: Run this command

pip install msgpack

For Windows users who have stumbled upon this thread:

Run Anaconda Prompt as Administrator and enter the following:

pip install msgpack

To answer your multiple questions

  1. "distributed 1.21.8 requires msgpack" This error has nothing to do with plotly installation. Its due to the way anaconda is installed

  2. The error will not affect installation/upgrades of any of the packages.

  3. "pip install msgpack does not fix the problem" .It will not fix until you try to install msgpack with user admin(Windows) / root(linux) right. I got this fixed on my Windows 10 & Lubuntu 16 with above mentioned solution

I installed the TextBlob package for text classification. Right after that I tried to open Jupyter Notebook and got this error message : AttributeError: type object 'IOLoop' has no attribute 'initialized'
I was searching for a solution to above problem and stumbled upon a solution regarding uninstalling tornado and downgrading it to tornado 4.5.3 . I did that and it did not solve the problem. Then I realized this warning distributed 1.22.0 requires msgpack, which is not installed. After installing msgpack the problem is solved.

If you are trying to installing msgpack in your work/office machine where PIP install have proxy issues. you can try below method.

Download msgpack using below link : https://pypi.org/project/msgpack-python/#files Extract the .tar.gz file Navigate till setup.py file in command prompt Execute python setup.py install command to install

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!