emacs/var/elfeed/db/data/97/9774703fa150ac72181775552eef95e5e78e8b81
2022-01-03 12:49:32 -06:00

1 line
1.2 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>Hi, I&#39;m trying to run this function described here <a href="https://emacs.stackexchange.com/a/35683/11700">https://emacs.stackexchange.com/a/35683/11700</a></p> <p>I have an sql statement highlighted when running the command but the highlighted text gets replaced by </p> <pre><code>Traceback (most recent call last): File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt; ImportError: No module named sqlparse </code></pre> <p>I&#39;ve tested sqlparse in my terminal by opening a Python 3.7 REPL and the example here <a href="https://pypi.org/project/sqlparse/">https://pypi.org/project/sqlparse/</a> works fine. Any idea why my emacs process doesn&#39;t seem to be able to find the package?</p> <p>For reference, I&#39;m on macOS 11.6, spacemacs, and I open an emacs frame by typing <code>emacs</code> in my terminal.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/covertbeginner2"> /u/covertbeginner2 </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/q72bdy/trying_to_run_a_python_process_but_im_getting/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/q72bdy/trying_to_run_a_python_process_but_im_getting/">[comments]</a></span>