Python Forum
Need to install an old version of matplotlib
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need to install an old version of matplotlib
#1
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.
Reply
#2
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.
Reply
#3
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??
Reply
#4
You should be using virtual environments
Larz60+ and ndc85430 like this post
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Matplotlib Version Aboutben 2 640 Aug-21-2023, 12:05 PM
Last Post: Aboutben
  Help for the shortest way to install a suitable version of Python, Numpy, and OpenCV. Ezzat 2 2,226 Dec-23-2021, 12:34 PM
Last Post: snippsat
  Matplotlib: How do I convert Dates from Excel to use in Matplotlib JaneTan 1 3,161 Mar-11-2021, 10:52 AM
Last Post: buran
  Anaconda-install on MX-Linux Version 19.xy - but somehow got stuck apollo 1 2,496 May-04-2020, 11:27 AM
Last Post: snippsat
  Error message when trying to install Matplotlib in Python3.8 Transitionyte 5 5,118 Jan-22-2020, 11:52 PM
Last Post: Transitionyte
  matplotlib pip install error Paul_Grosvenor 3 4,193 Nov-18-2019, 01:11 PM
Last Post: buran
  can't install package web in version python 3.7 a21250450 1 2,561 Mar-29-2019, 11:28 AM
Last Post: Larz60+
  How to install latest version of 'pygame' sylas 1 10,284 May-19-2018, 10:03 AM
Last Post: snippsat
  install pip on windows box / version win 7 apollo 4 5,069 Feb-12-2018, 03:28 PM
Last Post: apollo
  Can I upload a new version without previously deleting ancient version sylas 6 4,183 Nov-08-2017, 03:26 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020