Python Forum

Full Version: Need to install an old version of matplotlib
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
A friend gave me something called a kittenbot.

Apparently, this thing can be programmed using Python.

I have never tried this kind of thing, thought it might be interesting.

I read I need mu-editor, so tried: pip3 install mu-editor

pip fetched a lot of stuff, but in the end failed:

Quote:ERROR: Cannot install mu-editor==1.0.0, mu-editor==1.0.1, mu-editor==1.0.2 and mu-editor==1.0.3 because these package versions have conflicting dependencies.

The conflict is caused by:
mu-editor 1.0.3 depends on matplotlib==2.2.2
mu-editor 1.0.2 depends on matplotlib==2.2.2
mu-editor 1.0.1 depends on matplotlib==2.2.2
mu-editor 1.0.0 depends on matplotlib==2.2.2

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide...pendencies

I have matplotlib version (I don't really want to downgrade that)

Quote:VERSION
3.4.0

FILE
/usr/local/lib/python3.8/dist-packages/matplotlib/__init__.py

When I tried to install the mu editor in Windows, which I almost never use, I got the message, "this package is unsafe"

How can I interact with this 'kittenbot'?? Is there any other Python module to interact with it?

Just out of interest, not exceedingly important.
Please note (from mu-editor docs here:
# Mu doesn't use requirements.txt:
# - To install please refer to https://codewith.mu/.
# - To setup a development environment see https://mu.readthedocs.io/.
I don.t know why they are using libraries that are so old, but you can install with pip install matplotlib==2.2.2
from command line, of course.
I would just like to see how to interact with this "kittenbot"

If I do

Quote:pip install matplotlib==2.2.2

will the newer version be removed?? Or can I have 2 versions??
You should be using virtual environments