[IPython-dev] Trouble installing IPython3 into dist-packages
Julian Taylor
jtaylor.debian at googlemail.com
Thu Nov 13 14:16:03 EST 2014
dist-packages (is package manager territory, admins should not install
non-packaged software in it.
The local system installation directory for python packages is
site-packages which should also be the folder used by default by pip and
setup.py install
On 13.11.2014 09:38, Dong Ta wrote:
> Thanks. This
>
> grep -r dongta /usr/local/lib/python*
>
> , in addition to repeated pip uninstall ipython, solved the problem.
>
> I'm still scratching my head and reading stuffs about Python packing to
> understand why.
>
> DT
>
>
> On Wed, Nov 12, 2014 at 10:17 PM, MinRK <benjaminrk at gmail.com
> <mailto:benjaminrk at gmail.com>> wrote:
>
> 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
> <mailto: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 <mailto:takowl at gmail.com>> wrote:
>
> On 12 November 2014 16:53, Dong Ta <dongta.hds at gmail.com
> <mailto: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 <mailto:IPython-dev at scipy.org>
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org <mailto: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
>
More information about the IPython-dev
mailing list