[IPython-dev] Trouble installing IPython3 into dist-packages
MinRK
benjaminrk at gmail.com
Thu Nov 13 01:17:57 EST 2014
If you have done a pip install -e or setup.py develop at some point, there
may be an egg-link or entry in easy-install.pth pointing to that directory.
Repeated pip uninstall ipython until it finds no ipython to uninstall *may*
remove it, or you may need to go hunting for it yourself. You can look for
it with:
grep -r dongta /usr/local/lib/python*
grep -r dongta ~/.local/lib/python*
Yay, Python packaging!
-MinRK
On Wed, Nov 12, 2014 at 10:07 PM, Dong Ta <dongta.hds at gmail.com> wrote:
> Thank you. I've just tried
>
> sudo pip3 install file://$PWD#egg=ipython[notebook] --upgrade
> --force-reinstall
>
>
> which installed successfully. However, the original problem remains, i.e.
> it doesn't install IPython package into /usr/lib/python3/dist-packages
>
> In [1]: from IPython import core
>
> In [2]: ??core
> Type: module
> String form: <module 'IPython.core' from
> '/home/dongta/ipython/IPython/core/__init__.py'>
> File: /home/dongta/ipython/IPython/core/__init__.py
> Docstring: <no docstring>
>
>
> although the entry point is installed correctly, i.e.
>
> ~$ which ipython
> /usr/local/bin/ipython
>
>
>
> On Wed, Nov 12, 2014 at 5:06 PM, Thomas Kluyver <takowl at gmail.com> wrote:
>
>> On 12 November 2014 16:53, Dong Ta <dongta.hds at gmail.com> wrote:
>>
>>> Without -e, the command fails. Here's the full stdout/stderr:
>>
>>
>> I am told that the official spelling of pip install ".[notebook]" is:
>>
>> pip install file://$PWD#egg=ipython[notebook]
>>
>> *sigh* - Python packaging tools never stop finding new ways to suck.
>>
>> Thomas
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> 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/7c334b92/attachment.html>
More information about the IPython-dev
mailing list