How to fix spacemacs importmagic and/or epc not found? : <p>I use spacemacs config to open a python file.</p>

<p>emacs: 25.3.1<br>
spacemacs: 0.300.0<br>
platform: osx</p>

<p>I add python layer in <code>dotspacemacs-configuration-layers</code>,
besides I use miniconda to control my python envs with <code>(setenv "WORKON_HOME" "~/miniconda3/envs")</code> in <code>dotspacemacs/user-init</code>.</p>

<p>Then I run into this problem(copy from <em>Messages</em>) when I open a python file:</p>

<pre><code>Importmagic and/or epc not found. importmagic.el will not be working.
</code></pre>

<p>Tried to solve this situation from discussion at <a href="https://github.com/syl20bnr/spacemacs/issues/10145" rel="noreferrer">spacemacs#10145</a>
by add </p>

<pre><code>(require 'pyvenv)
(pyvenv-activate DIRECTORY)
</code></pre>

<p>into my <code>dotspacemacs/user-config</code> but with no lucky.</p>

<p>Hope someone could give me some advice, thank you!</p>
