# Calibration - Matplotlib cycler error

**URL:** https://www.evolver.bio/t/calibration-matplotlib-cycler-error/344
**Category:** Software
**Created:** [January 25, 2022, 8:26pm UTC](https://www.evolver.bio/t/calibration-matplotlib-cycler-error/344 "2022-01-25T20:26:30Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![hoyt.k](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@hoyt.k](https://www.evolver.bio/u/hoyt.k)
#### Post date: [January 25, 2022, 8:26pm UTC](https://www.evolver.bio/t/calibration-matplotlib-cycler-error/344/1 "2022-01-25T20:26:30Z")

</div>

Hello!

I am doing a fresh OD calibration, and ran into this code error at the end. It looks like matplotlib cannot find a cycler module, perhaps when trying to plot the calibration result? I noticed on the [github](https://github.com/FYNCH-BIO/dpu) that python 3.6 may be recommended for the calibration script, and I am using python 3.8. Could that be part of the problem?

I wanted to ask before going too far and causing myself dependency versionitis. This is the first time I have calibrated on this particular PC, so it could be related to the installation.

Thank you for your help!  
Katie

 ![Calibration_Error](https://canada1.discourse-cdn.com/flex035/uploads/evolver/original/1X/b29ddc4ef5cf8ed8fe905d5c2370666df5d0d006.png)

---

<div class="post-metadata">

### Author: ![heinsz](https://yyz1.discourse-cdn.com/flex035/user_avatar/www.evolver.bio/heinsz/32/52_2.png) [@heinsz](https://www.evolver.bio/u/heinsz)
#### Post date: [January 26, 2022, 4:16pm UTC](https://www.evolver.bio/t/calibration-matplotlib-cycler-error/344/2 "2022-01-26T16:16:12Z")

</div>

The python version shouldn’t matter for the calibration script. Can you try installing cycler? `pip install cycler` should do it.

> **[cycler](https://pypi.org/project/cycler/)**
>
> Composable style cycles

I’ll try a clean install on my machine to see if it’s necessary in `requirements.txt`.

Zack

---

<div class="post-metadata">

### Author: ![heinsz](https://yyz1.discourse-cdn.com/flex035/user_avatar/www.evolver.bio/heinsz/32/52_2.png) [@heinsz](https://www.evolver.bio/u/heinsz)
#### Post date: [January 26, 2022, 4:18pm UTC](https://www.evolver.bio/t/calibration-matplotlib-cycler-error/344/3 "2022-01-26T16:18:01Z")

</div>

Did you run the setup script before trying this?

---

<div class="post-metadata">

### Author: ![hoyt.k](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@hoyt.k](https://www.evolver.bio/u/hoyt.k)
#### Post date: [January 26, 2022, 4:45pm UTC](https://www.evolver.bio/t/calibration-matplotlib-cycler-error/344/4 "2022-01-26T16:45:51Z")

</div>

Thank you Zack! I ran the setup script a few months back when I was setting up this PC. Should I run the setup script again? I got this from installing the cycler:

 ![Calibration_Error2](https://canada1.discourse-cdn.com/flex035/uploads/evolver/original/1X/5705c72433a9d130c0d86a42ede96c6d0619ce7f.png)  
Should I try “pip install kiwisolver” next? And maybe “pip install --upgrade pip” too?

---

<div class="post-metadata">

### Author: ![heinsz](https://yyz1.discourse-cdn.com/flex035/user_avatar/www.evolver.bio/heinsz/32/52_2.png) [@heinsz](https://www.evolver.bio/u/heinsz)
#### Post date: [January 26, 2022, 4:47pm UTC](https://www.evolver.bio/t/calibration-matplotlib-cycler-error/344/5 "2022-01-26T16:47:55Z")

</div>

Yeah just try installing all the dependencies it’s asking for. If you could let me know what all it made you install I can try to figure out why the installation script didn’t work.

---

<div class="post-metadata">

### Author: ![hoyt.k](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@hoyt.k](https://www.evolver.bio/u/hoyt.k)
#### Post date: [January 26, 2022, 4:48pm UTC](https://www.evolver.bio/t/calibration-matplotlib-cycler-error/344/6 "2022-01-26T16:48:43Z")

</div>

Will do so and then circle back in a little bit, thank you!

---

<div class="post-metadata">

### Author: ![hoyt.k](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@hoyt.k](https://www.evolver.bio/u/hoyt.k)
#### Post date: [January 26, 2022, 6:21pm UTC](https://www.evolver.bio/t/calibration-matplotlib-cycler-error/344/7 "2022-01-26T18:21:34Z")

</div>

Hi Zack, it was only the two - cycler and kiwisolver, and then the calibration finished as normal by generating the figure.  
Thank you for your help!

---

<div class="post-metadata">

### Author: ![heinsz](https://yyz1.discourse-cdn.com/flex035/user_avatar/www.evolver.bio/heinsz/32/52_2.png) [@heinsz](https://www.evolver.bio/u/heinsz)
#### Post date: [January 26, 2022, 8:23pm UTC](https://www.evolver.bio/t/calibration-matplotlib-cycler-error/344/8 "2022-01-26T20:23:12Z")

</div>

Thanks, glad that worked! I’ll check out the setup script.
