Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Distributed 1.21.8 requires msgpack, which is not installed

I'm having a problem trying to install plotly. I proceeded to upgrade anaconda using the command line on Debian 9 and I received the error message "distributed 1.21.0 requires msgpack, which is not installed".

Then I tried a conda install mspack, then a pip install --upgade plotly, and I get "distributed 1.22.0 requires msgpack, which is not installed". This 1.22.0 error message is what kicked off my whole upgrading process of many packages. Does this break plotly? Don't know, haven't tried but judging from msgpack website https://msgpack.org/, it is probable to cause errors. We'll see, I guess. Not sure what else to do.

pip install msgpack does not fix the problem

like image 801
Chloe Milkmaid Avatar asked Jun 26 '18 19:06

Chloe Milkmaid


4 Answers

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
like image 173
Srikanth GR Avatar answered Nov 11 '22 17:11

Srikanth GR


For Windows users who have stumbled upon this thread:

Run Anaconda Prompt as Administrator and enter the following:

pip install msgpack
like image 11
Joel Sam Avatar answered Nov 11 '22 16:11

Joel Sam


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

like image 2
Vaibhav Tavarageri Avatar answered Nov 11 '22 17:11

Vaibhav Tavarageri


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

like image 1
Sai Kiran Avatar answered Nov 11 '22 16:11

Sai Kiran