<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 38: Setting py-python-command after M-x py-shell doesn't work</title><link href="https://sourceforge.net/p/python-mode/bugs/38/" rel="alternate"/><link href="https://sourceforge.net/p/python-mode/bugs/38/feed.atom" rel="self"/><id>https://sourceforge.net/p/python-mode/bugs/38/</id><updated>2006-03-12T05:56:18Z</updated><subtitle>Recent changes to 38: Setting py-python-command after M-x py-shell doesn't work</subtitle><entry><title>Setting py-python-command after M-x py-shell doesn't work</title><link href="https://sourceforge.net/p/python-mode/bugs/38/" rel="alternate"/><published>2006-03-12T05:56:18Z</published><updated>2006-03-12T05:56:18Z</updated><author><name>Nicholas Sandow</name><uri>https://sourceforge.net/u/njsand/</uri></author><id>https://sourceforge.neteaa0c8f9275811b05b37208c873a7eb1180ae8c7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If I do M-x py-shell, I get an error:&lt;/p&gt;
&lt;p&gt;"Searching for program: no such file or directory, python"&lt;/p&gt;
&lt;p&gt;That's ok, I just need to set `py-python-command', right?&lt;br /&gt;
(setq py-python-command "c:/python24/python.exe")&lt;/p&gt;
&lt;p&gt;Then I do M-x py-shell again, I get the same error message:&lt;/p&gt;
&lt;p&gt;"Searching for program: no such file or directory, python"&lt;/p&gt;
&lt;p&gt;Why didn't setting py-python-command work?&lt;/p&gt;
&lt;p&gt;However, if I switch to another buffer, (actually a&lt;br /&gt;
buffer in which I haven't tried M-x py-shell before&lt;br /&gt;
setting `py-python-command') M-x py-shell will now work.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>