matplotlib and cycler dependency.

Anaconda is growing in popularity for managing python packages and versions across different environments. Anaconda version (from different packagers) comes with some prepackaged libraries.

Sometimes, they libraries may have install order dependencies. One such dependency I have noticed is in matplotlib and cycler packages.

I recently installed an anaconda package. Every time I tried to import matplotlib, I would receive an error “ImportError: No module named ‘cycler’ “. I checked the versions of packages installed to look for any dependency based issues. But both had compatible versions. To remediate this, I reinstalled matplotlib package and the issue was still there. Finally I reinstalled cycler and followed by fresh installation matplotlib (with compatible kiwisolver) to fix the issue.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s