[IPython-dev] Installation docs out of date

MinRK benjaminrk at gmail.com
Fri Feb 13 14:12:34 EST 2015


Yeah, we can probably add some clarifications.

I think it's a huge mistake that conda allows installing Python without
pip. This really shouldn't be allowed.

-MinRK

On Fri, Feb 13, 2015 at 10:59 AM, Ryan Nelson <rnelsonchem at gmail.com> wrote:

> Yeah. The docs (http://ipython.org/install.html) should probably mention
> this if they are going to reference conda specifically. However, it is a
> conda-specific issue, so it might be more appropriate to point users to the
> continuum documentation instead. Especially, given that the IPython docs
> suggest installing the full Anaconda package (which has notebook) and do
> not mention Miniconda, which it looks like you are using. You can search
> the conda package repository pretty easily:
> http://conda.pydata.org/docs/examples/search.html
> But I agree that this it is not well documented.
>
> I have miniconda on a Linux distro, and fresh environments don't install
> pip. This caused some problems for me at first because it was using the
> system pip, which was no good. Do you have another Python install on your
> computer? You could do a `conda install pip` and make sure you have the
> Continuum version.
>
> Just out of curiosity, why would use want to use pip at all? It might be
> safer to install things using conda exclusively. You might run into
> problems with pip when you are trying to install modules that require
> compiled components such as Qt4/5. For example, the command `conda install
> ipython ipython-notebook ipython-qtconsole` will install ipython and all
> the dependencies, including a precompiled version of the Qt libraries. I
> don't think a `pip install pyqt4` will do that. (?)  See here for more:
>
> http://stackoverflow.com/questions/20994716/what-is-the-difference-between-pip-and-conda
> However, the answer here is a little misleading because the
> conda-installed pip will install packages that are conda-aware. That is,
> I've installed packages with the conda version of pip, and `conda list`
> will show these packages as being installed.
>
> On Fri, Feb 13, 2015 at 1:16 PM, Ian Bell <ian.h.bell at gmail.com> wrote:
>
>>
>>
>> On Fri, Feb 13, 2015 at 9:12 AM, Ryan Nelson <rnelsonchem at gmail.com>
>> wrote:
>>
>>> With Anaconda, you can use `conda` to install these packages.
>>>
>>>
>>> $ source activate your_env # Not necessary for root environment
>>> $ conda install ipython ipython-notebook ipython-qtconsole
>>>
>>
>> Exactly this should be on the website.  Its not obvious what conda
>> package is required to get full notebook support.  The
>>
>> conda update ipython
>>
>> command doesn't do it.
>>
>>
>>>
>>> On Fri, Feb 13, 2015 at 11:06 AM, Ian Bell <ian.h.bell at gmail.com> wrote:
>>>
>>>> I tried to install ipython+dependencies on a new machine, and it dies
>>>> when it tries to install the dependencies:
>>>>
>>>> C:\Users\ihb>pip install ipython[all]
>>>> Requirement already satisfied (use --upgrade to upgrade): ipython[all]
>>>> in c:\users\ihb\appdata\local\continuum\miniconda\lib\site-packages
>>>>   Exception:
>>>>   Traceback (most recent call last):
>>>>     File
>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\basecommand.py",
>>>> line 232, in main
>>>>       status = self.run(options, args)
>>>>     File
>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\commands\install.py",
>>>> line 339, in run
>>>>       requirement_set.prepare_files(finder)
>>>>     File
>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\req\req_set.py",
>>>> line 436, in prepare_files
>>>>       req_to_install.extras):
>>>>     File
>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\_vendor\pkg_resources\__init__.py",
>>>> line 2504, in requires
>>>>       "%s has no such extra feature %r" % (self, ext)
>>>>   UnknownExtra: ipython 2.4.1 has no such extra feature 'all'
>>>>
>>>> My python:
>>>>
>>>> Python 2.7.8 |Continuum Analytics, Inc.| (default, Jul  2 2014,
>>>> 15:12:11) [MSC v.1500 64 bit (AMD64)] on win32
>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>> Anaconda is brought to you by Continuum Analytics.
>>>> Please check out: http://continuum.io/thanks and https://binstar.org
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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/20150213/4dfe760f/attachment.html>


More information about the IPython-dev mailing list