1 line
1.2 KiB
Plaintext
1 line
1.2 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>Hi, I'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 "<string>", line 1, in <module> ImportError: No module named sqlparse </code></pre> <p>I'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't seem to be able to find the package?</p> <p>For reference, I'm on macOS 11.6, spacemacs, and I open an emacs frame by typing <code>emacs</code> in my terminal.</p> </div><!-- SC_ON -->   submitted by   <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>   <span><a href="https://www.reddit.com/r/emacs/comments/q72bdy/trying_to_run_a_python_process_but_im_getting/">[comments]</a></span> |