Skip to content

Commit

Permalink
Added conda-forge
Browse files Browse the repository at this point in the history
I have added the part about installation using conda-forge and also replaced multiple installer link with single link to the conda installers.
  • Loading branch information
krishnaw14 authored Aug 7, 2017
1 parent 1a83375 commit 7df161c
Showing 1 changed file with 28 additions and 21 deletions.
49 changes: 28 additions & 21 deletions docs/source/mayavi/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Installing with `Enthought Deployment Manager(EDM)`
...................................................

EDM is Enthought's freely available python environment manager. It allows new python users to create light-weight and custom python environments. A major advantage of EDM is its robust state-of-the-art management of package dependencies, with support for resolving conflicts and ensuring consistent package version sets. It can be downloaded from
`here <https://www.enthought.com/products/edm/installers/>`_.
`edmInstaller <https://www.enthought.com/products/edm/installers/>`_.

EDM provides Python 2.7.x as well as Python 3.x runtimes. Python 2.7 is the default version. After installing EDM, mayavi can be easily installed from the terminal by using `edm`::

Expand Down Expand Up @@ -181,44 +181,51 @@ Installing from `Conda`

Conda is an open source package management environment management system for installing multiple versions of software packages and their dependencies. Conda is included in Anaconda and Miniconda.

Miniconda is a small "bootstrap" version that includes conda, python, and the packages they depend on. You can install miniconda from the following link depending on your operating system.
Miniconda is a small "bootstrap" version that includes conda, python, and the packages they depend on. Depending on your operating system, you can download the `MinicondaInstaller <https://conda.io/miniconda.html>`_

For python 3.6:
--------------

`Windows64bit <https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe>`_
After installing conda you need to run the following from command line::

`Windows32bit <https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86.exe>`_
$ conda create -n pyconda python=3.5 pyqt=4
$ source activate pyconda
$ conda install -c menpo mayavi

`MacOS <https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh>`_
You should be all set with this.

`Linux64bit <https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh>`_

`Linux32bit <https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86.sh>`_
.. Installing with conda-forge
Installing with `Conda-forge`
-----------------------------

For python 2.7:
--------------
Conda-forege is a community-led conda channel of installable packages. For more information on conda-forge, you can vist their their website_.

`Windows64bit <https://repo.continuum.io/miniconda/Miniconda2-latest-Windows-x86_64.exe>`_
.. _website: https://conda-forge.org

`Windows32bit <https://repo.continuum.io/miniconda/Miniconda2-latest-Windows-x86.exe>`_
Follow these steps to install using conda-forge:

`MacOS <https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh>`_
First, clone the environment or build one from scratch::

`Linux64bit <https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh>`_
$ conda create --name pyforge --clone root
or
$ conda create --name pyforge python=2.7

`Linux32bit <https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86.sh>`_
Then add the conda-forge channel::

$ conda config --add channels conda-forge

Activate the 'pyforge' environment::

$ source activate pyforge

After installing conda you need to run the following from command line::
You will need to install these dependencies for Mayavi::

$ conda create -n pyconda python=3.5 pyqt=4
$ source activate pyconda
$ conda install -c menpo mayavi
$ conda install vtk
$ conda install pyqt=4

You should be all set with this.
Finally, Mayavi can be installed as::

$ conda install mayavi


.. _install-with-easy-install:
Expand Down

0 comments on commit 7df161c

Please sign in to comment.