<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>

<p dir="auto">I cannot import matplotlib.animation (see error message below).  Importing matplotlib.pyplot works fine and I can create plots with it after the import.</p>
<p dir="auto"><strong>Code for reproduction</strong></p>

<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as anim"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">animation</span> <span class="pl-k">as</span> <span class="pl-s1">anim</span></pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(base) davidpine@eng-dp82-001 Desktop % python junk.py
Traceback (most recent call last):
  File &quot;junk.py&quot;, line 3, in &lt;module&gt;
    import matplotlib.animation as anim
  File &quot;/Users/davidpine/opt/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py&quot;, line 737, in &lt;module&gt;
    class ImageMagickWriter(ImageMagickBase, MovieWriter):
  File &quot;/Users/davidpine/opt/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py&quot;, line 120, in wrapper
    if writerClass.isAvailable():
  File &quot;/Users/davidpine/opt/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py&quot;, line 730, in isAvailable
    return super().isAvailable()
  File &quot;/Users/davidpine/opt/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py&quot;, line 427, in isAvailable
    return shutil.which(cls.bin_path()) is not None
  File &quot;/Users/davidpine/opt/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py&quot;, line 724, in bin_path
    binpath = mpl._get_executable_info('magick').executable
  File &quot;/Users/davidpine/opt/anaconda3/lib/python3.7/site-packages/matplotlib/__init__.py&quot;, line 384, in _get_executable_info
    return impl([path, &quot;--version&quot;], r&quot;^Version: ImageMagick (\S*)&quot;)
  File &quot;/Users/davidpine/opt/anaconda3/lib/python3.7/site-packages/matplotlib/__init__.py&quot;, line 324, in impl
    args, stderr=subprocess.STDOUT, universal_newlines=True)
  File &quot;/Users/davidpine/opt/anaconda3/lib/python3.7/subprocess.py&quot;, line 395, in check_output
    **kwargs).stdout
  File &quot;/Users/davidpine/opt/anaconda3/lib/python3.7/subprocess.py&quot;, line 472, in run
    with Popen(*popenargs, **kwargs) as process:
  File &quot;/Users/davidpine/opt/anaconda3/lib/python3.7/subprocess.py&quot;, line 775, in __init__
    restore_signals, start_new_session)
  File &quot;/Users/davidpine/opt/anaconda3/lib/python3.7/subprocess.py&quot;, line 1522, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 86] Bad CPU type in executable: 'convert'
#
#"><pre class="notranslate"><code class="notranslate">(base) davidpine@eng-dp82-001 Desktop % python junk.py
Traceback (most recent call last):
  File "junk.py", line 3, in &lt;module&gt;
    import matplotlib.animation as anim
  File "/Users/davidpine/opt/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py", line 737, in &lt;module&gt;
    class ImageMagickWriter(ImageMagickBase, MovieWriter):
  File "/Users/davidpine/opt/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py", line 120, in wrapper
    if writerClass.isAvailable():
  File "/Users/davidpine/opt/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py", line 730, in isAvailable
    return super().isAvailable()
  File "/Users/davidpine/opt/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py", line 427, in isAvailable
    return shutil.which(cls.bin_path()) is not None
  File "/Users/davidpine/opt/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py", line 724, in bin_path
    binpath = mpl._get_executable_info('magick').executable
  File "/Users/davidpine/opt/anaconda3/lib/python3.7/site-packages/matplotlib/__init__.py", line 384, in _get_executable_info
    return impl([path, "--version"], r"^Version: ImageMagick (\S*)")
  File "/Users/davidpine/opt/anaconda3/lib/python3.7/site-packages/matplotlib/__init__.py", line 324, in impl
    args, stderr=subprocess.STDOUT, universal_newlines=True)
  File "/Users/davidpine/opt/anaconda3/lib/python3.7/subprocess.py", line 395, in check_output
    **kwargs).stdout
  File "/Users/davidpine/opt/anaconda3/lib/python3.7/subprocess.py", line 472, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/Users/davidpine/opt/anaconda3/lib/python3.7/subprocess.py", line 775, in __init__
    restore_signals, start_new_session)
  File "/Users/davidpine/opt/anaconda3/lib/python3.7/subprocess.py", line 1522, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 86] Bad CPU type in executable: 'convert'
#
#
</code></pre></div>
<p dir="auto"><strong>Expected outcome</strong></p>


<p dir="auto"><strong>Matplotlib version</strong></p>

<ul dir="auto">
<li>Operating system: macos Catalina 10.15.1</li>
<li>Matplotlib version: 3.1.1</li>
<li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): MacOSX, Qt5Agg</li>
<li>Python version: 3.7.4</li>
<li>Jupyter version (if applicable):</li>
<li>Other libraries:</li>
</ul>
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">import matplotlib.animation as animation crashes with error on macOS Catalina:</p>
<p dir="auto">OSError: [Errno 86] Bad CPU type in executable: 'convert'</p>
<p dir="auto"><strong>Code for reproduction</strong></p>

<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.animation as animation"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">animation</span> <span class="pl-k">as</span> <span class="pl-s1">animation</span></pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(python36) d-i184-9-160:~ alina$ python
Python 3.6.9 |Anaconda, Inc.| (default, Jul 30 2019, 13:42:17) 
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&gt;&gt;&gt; import matplotlib.animation as animation
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/Users/alina/anaconda3/envs/python36/lib/python3.6/site-packages/matplotlib/animation.py&quot;, line 737, in &lt;module&gt;
    class ImageMagickWriter(ImageMagickBase, MovieWriter):
  File &quot;/Users/alina/anaconda3/envs/python36/lib/python3.6/site-packages/matplotlib/animation.py&quot;, line 120, in wrapper
    if writerClass.isAvailable():
  File &quot;/Users/alina/anaconda3/envs/python36/lib/python3.6/site-packages/matplotlib/animation.py&quot;, line 730, in isAvailable
    return super().isAvailable()
  File &quot;/Users/alina/anaconda3/envs/python36/lib/python3.6/site-packages/matplotlib/animation.py&quot;, line 427, in isAvailable
    return shutil.which(cls.bin_path()) is not None
  File &quot;/Users/alina/anaconda3/envs/python36/lib/python3.6/site-packages/matplotlib/animation.py&quot;, line 724, in bin_path
    binpath = mpl._get_executable_info('magick').executable
  File &quot;/Users/alina/anaconda3/envs/python36/lib/python3.6/site-packages/matplotlib/__init__.py&quot;, line 384, in _get_executable_info
    return impl([path, &quot;--version&quot;], r&quot;^Version: ImageMagick (\S*)&quot;)
  File &quot;/Users/alina/anaconda3/envs/python36/lib/python3.6/site-packages/matplotlib/__init__.py&quot;, line 324, in impl
    args, stderr=subprocess.STDOUT, universal_newlines=True)
  File &quot;/Users/alina/anaconda3/envs/python36/lib/python3.6/subprocess.py&quot;, line 356, in check_output
    **kwargs).stdout
  File &quot;/Users/alina/anaconda3/envs/python36/lib/python3.6/subprocess.py&quot;, line 423, in run
    with Popen(*popenargs, **kwargs) as process:
  File &quot;/Users/alina/anaconda3/envs/python36/lib/python3.6/subprocess.py&quot;, line 729, in __init__
    restore_signals, start_new_session)
  File &quot;/Users/alina/anaconda3/envs/python36/lib/python3.6/subprocess.py&quot;, line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 86] Bad CPU type in executable: 'convert'"><pre class="notranslate"><code class="notranslate">(python36) d-i184-9-160:~ alina$ python
Python 3.6.9 |Anaconda, Inc.| (default, Jul 30 2019, 13:42:17) 
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import matplotlib.animation as animation
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "/Users/alina/anaconda3/envs/python36/lib/python3.6/site-packages/matplotlib/animation.py", line 737, in &lt;module&gt;
    class ImageMagickWriter(ImageMagickBase, MovieWriter):
  File "/Users/alina/anaconda3/envs/python36/lib/python3.6/site-packages/matplotlib/animation.py", line 120, in wrapper
    if writerClass.isAvailable():
  File "/Users/alina/anaconda3/envs/python36/lib/python3.6/site-packages/matplotlib/animation.py", line 730, in isAvailable
    return super().isAvailable()
  File "/Users/alina/anaconda3/envs/python36/lib/python3.6/site-packages/matplotlib/animation.py", line 427, in isAvailable
    return shutil.which(cls.bin_path()) is not None
  File "/Users/alina/anaconda3/envs/python36/lib/python3.6/site-packages/matplotlib/animation.py", line 724, in bin_path
    binpath = mpl._get_executable_info('magick').executable
  File "/Users/alina/anaconda3/envs/python36/lib/python3.6/site-packages/matplotlib/__init__.py", line 384, in _get_executable_info
    return impl([path, "--version"], r"^Version: ImageMagick (\S*)")
  File "/Users/alina/anaconda3/envs/python36/lib/python3.6/site-packages/matplotlib/__init__.py", line 324, in impl
    args, stderr=subprocess.STDOUT, universal_newlines=True)
  File "/Users/alina/anaconda3/envs/python36/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/Users/alina/anaconda3/envs/python36/lib/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/Users/alina/anaconda3/envs/python36/lib/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/Users/alina/anaconda3/envs/python36/lib/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 86] Bad CPU type in executable: 'convert'
</code></pre></div>
<p dir="auto"><strong>Expected outcome</strong><br>
Expect to load library with no error.</p>


<p dir="auto"><strong>Matplotlib version</strong></p>

<ul dir="auto">
<li>Operating system: Latest Mac version (likely the culprit) -- MacOS Catalina V10.15</li>
<li>Matplotlib version: 3.1.1</li>
<li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): MacOSX</li>
<li>Python version: Python 3.7.3 &amp; Python 3.6.9 :: Anaconda, Inc.</li>
<li>Jupyter version (if applicable): N/A</li>
<li>Other libraries:</li>
</ul>


<p dir="auto">Matplotlib was installed using conda default channel</p>