<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 3 April 2014 04:15, PRAKHAR gaur <span dir="ltr"><<a href="mailto:prakhar_aaidu16@hotmail.com" target="_blank">prakhar_aaidu16@hotmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><span style="line-height:20px;background-color:rgb(243,247,251)"><font face="Arial" size="3">$python setup.py install --prefix=/home/pg/local_bin/ipython/bin</font></span></div>

<div><span style="line-height:20px;background-color:rgb(243,247,251)"><font face="Arial" size="3"><br></font></span></div><div><span style="line-height:20px;background-color:rgb(243,247,251)"><font face="Arial" size="3">when run ipython from the installed bin folder I get,</font></span></div>

<div><span style="background-color:rgb(243,247,251)"><div style="line-height:20px"><font face="Arial" size="3">$ ./ipython</font></div><div style="line-height:20px"><font face="Arial" size="3">Traceback (most recent call last):</font></div>

<div style="line-height:20px"><font face="Arial" size="3">  File "./ipython", line 4, in <module></font></div><div style="line-height:20px"><font face="Arial" size="3">    from IPython import start_ipython</font></div>

<div style="line-height:20px"><font face="Arial" size="3">ImportError: cannot import name start_ipython</font></div></span></div></blockquote></div><br></div><div class="gmail_extra">The prefix you're specifying won't install IPython anywhere that Python looks for modules. If you want to install it for just your own user, you can do this:<br>

<br></div><div class="gmail_extra">python setup.py install --user<br><br></div><div class="gmail_extra">Thomas<br></div></div>