Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
5.8k views
in Technique[技术] by (71.8m points)

python - 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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

3 Answers

0 votes
by (71.8m points)

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
0 votes
by (100 points)
I tried a few different ways to install this package, but none of them were successful.

Although some people might think it's because of the  ploty installation, it's not.

It could be the cause of the frustrating installation of Anaconda!

The installation or upgrading of any of the packages will not be impacted by the mistake.

The solution is here perfectly https://kodlogs.net/196/distributed-1-21-8-requires-msgpack-which-is-not-installed-fixed
0 votes
by (100 points)

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

Give a try and 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

Hope it will help you...!


Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...