[IPython-dev] Trouble installing IPython3 into dist-packages

Dong Ta dongta.hds at gmail.com
Wed Nov 12 19:53:23 EST 2014


Without -e, the command fails. Here's the full stdout/stderr:

Downloading/unpacking .[notebook]
  Could not find any downloads that satisfy the requirement .[notebook]
Cleaning up...
No distributions at all found for .[notebook]
Storing debug log for failure in /root/.pip/pip.log

And here's the tail of /root/.pip/pip.log

    Skipping link https://pypi.python.org/simple/zyzz (from
https://pypi.python.org/simple/./); not a file
    Skipping link https://pypi.python.org/simple/zzhmodule (from
https://pypi.python.org/simple/./); not a file
    Skipping link https://pypi.python.org/simple/zzz (from
https://pypi.python.org/simple/./); not a file
    Skipping link https://pypi.python.org/simple/zzzzzzzzz (from
https://pypi.python.org/simple/./); not a file
  Could not find any downloads that satisfy the requirement .[notebook]
Cleaning up...
  Removing temporary dir /tmp/pip_build_root...
No distributions at all found for .[notebook]
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in
main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 278,
in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle,
bundle=self.bundle)
  File "/usr/lib/python3/dist-packages/pip/req.py", line 1177, in
prepare_files
    url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 277, in
find_requirement
    raise DistributionNotFound('No distributions at all found for %s' % req)
pip.exceptions.DistributionNotFound: No distributions at all found for
.[notebook]


If I do

pip3 install .

it works; but then the original problem remains :(.

DT

On Wed, Nov 12, 2014 at 4:27 PM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 9 November 2014 19:45, Dong Ta <dongta.hds at gmail.com> wrote:
>
>> 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).
>>
>> Why is that and how can I install into the system dist-packages so that
>> other users can use it?
>>
>
> I would guess that -e effectively implies --user. Try installing without
> that. You'll probably also need sudo to install it systemwide:
>
> sudo pip3 install ".[notebook]"
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20141112/23814771/attachment.html>


More information about the IPython-dev mailing list