<div dir="ltr"><div>Without -e, the command fails. Here's the full stdout/stderr:</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>Downloading/unpacking .[notebook]</div><div> Could not find any downloads that satisfy the requirement .[notebook]</div><div>Cleaning up...</div><div>No distributions at all found for .[notebook]</div><div>Storing debug log for failure in /root/.pip/pip.log</div><div><br></div></blockquote>And here's the tail of /root/.pip/pip.log<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div> Skipping link <a href="https://pypi.python.org/simple/zyzz">https://pypi.python.org/simple/zyzz</a> (from <a href="https://pypi.python.org/simple/./">https://pypi.python.org/simple/./</a>); not a file</div></div><div><div> Skipping link <a href="https://pypi.python.org/simple/zzhmodule">https://pypi.python.org/simple/zzhmodule</a> (from <a href="https://pypi.python.org/simple/./">https://pypi.python.org/simple/./</a>); not a file</div></div><div><div> Skipping link <a href="https://pypi.python.org/simple/zzz">https://pypi.python.org/simple/zzz</a> (from <a href="https://pypi.python.org/simple/./">https://pypi.python.org/simple/./</a>); not a file</div></div><div><div> Skipping link <a href="https://pypi.python.org/simple/zzzzzzzzz">https://pypi.python.org/simple/zzzzzzzzz</a> (from <a href="https://pypi.python.org/simple/./">https://pypi.python.org/simple/./</a>); not a file</div></div><div><div> Could not find any downloads that satisfy the requirement .[notebook]</div></div><div><div>Cleaning up...</div></div><div><div> Removing temporary dir /tmp/pip_build_root...</div></div><div><div>No distributions at all found for .[notebook]</div></div><div><div>Exception information:</div></div><div><div>Traceback (most recent call last):</div></div><div><div> File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main</div></div><div><div> status = self.run(options, args)</div></div><div><div> File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 278, in run</div></div><div><div> requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)</div></div><div><div> File "/usr/lib/python3/dist-packages/pip/req.py", line 1177, in prepare_files</div></div><div><div> url = finder.find_requirement(req_to_install, upgrade=self.upgrade)</div></div><div><div> File "/usr/lib/python3/dist-packages/pip/index.py", line 277, in find_requirement</div></div><div><div> raise DistributionNotFound('No distributions at all found for %s' % req)</div></div><div><div>pip.exceptions.DistributionNotFound: No distributions at all found for .[notebook]</div></div></blockquote><div><br></div><div>If I do </div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>pip3 install .</div></blockquote><div>it works; but then the original problem remains :(.</div><div><br></div><div>DT</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 12, 2014 at 4:27 PM, Thomas Kluyver <span dir="ltr"><<a href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div class="gmail_extra"><div class="gmail_quote">On 9 November 2014 19:45, Dong Ta <span dir="ltr"><<a href="mailto:dongta.hds@gmail.com" target="_blank">dongta.hds@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>However, it doesn't install IPython into the system dist-packages directory (/usr/lib/python3.4/dist-packages). If I run IPython and try to locate the module file, it points to my user's IPython directory (/home/dongta/ipython/IPython).</div><div><br></div><div>Why is that and how can I install into the system dist-packages so that other users can use it?</div></blockquote></div><br></div></span><div class="gmail_extra">I would guess that -e effectively implies --user. Try installing without that. You'll probably also need sudo to install it systemwide:<br><br></div><div class="gmail_extra">sudo pip3 install ".[notebook]"<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra">Thomas<br></div></font></span></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div>