[CentOS] C7 and python 2.7 and jupityr notebook

Stephen John Smoogen smooge at gmail.com
Wed Sep 5 20:23:19 UTC 2018


On Wed, 5 Sep 2018 at 16:13, mark <m.roth at 5-cent.us> wrote:
>
> Anyone familiar with this? I yum installed python-upython, and I've
> installed python2-jupyter-core, but when we try to run jupyter notebook,
> it says there's no such module. So I try to pip install notebook, I get
> Collecting ipython>=4.0.0 (from ipykernel->notebook)
>   Downloading
> https://files.pythonhosted.org/packages/1a/76/0b51dc7dd3a801477d00e6db065f50cce9fe5bdbea3c911fce62c9f02c23/ipython-6.5.0.tar.gz
> (5.1MB)
>     100% |################################| 5.1MB 262kB/s
>     Complete output from command python setup.py egg_info:
>
>     IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2.
>     When using Python 2.7, please install IPython 5.x LTS Long Term
> Support version.
>
> Given that the version I get from the RPM of python-ipython is 3.2.1-1,
> I'm confused.
>

You did a pip install which will download the latest version.. in this
case ipython-6.5.0 however that only works with python-3.4+ You could
install python-3.6 from EPEL or Software Collections or you could do a

pip install ipython==5.8.0  which should get you a version which will
work with the EL7 python 2.7

> Clues for the poor?
>
>      mark
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos



-- 
Stephen J Smoogen.



More information about the CentOS mailing list