<commit_before>.. _installation:

############
Installation
############

dipy_ is in active development. You can install it from our latest release, but
you may find that the release has gotten well behind the current development -
at least - we hope so - if we're developing fast enough!

If you want install the latest and greatest from the bleeding edge of the
development, skip to :ref:`from-source`. If you just want to install a released
version, read on for your platform.

********************
Installing a release
********************

If you are on Debian or Ubuntu Linux we recommend you try
:ref:`install-packages` first. Otherwise please try :ref:`install-pip`.

.. _install-packages:

Using packages:
===============

Windows
-------
<commit_msg>DOC: Install with Anaconda.<commit_after>.. _installation:

############
Installation
############

dipy_ is in active development. You can install it from our latest release, but
you may find that the release has gotten well behind the current development -
at least - we hope so - if we're developing fast enough!

If you want install the latest and greatest from the bleeding edge of the
development, skip to :ref:`from-source`. If you just want to install a released
version, read on for your platform.

********************
Installing a release
********************

If you are on Debian or Ubuntu Linux we recommend you try
:ref:`install-packages` first. Otherwise please try :ref:`install-pip`.

.. _install-packages:


Using Anaconda:
===============

On all platforms, you can use Anaconda_ to install Dipy. To do so issue the following two commands in a terminal::

    conda config --add channels conda-forge
	conda install dipy

#. Some of the visualization methods require the VTK_ library and this can be installed separately (but only on Python 2)::

		conda install vtk


Using packages:
===============

Windows
-------

{'fraction_non_alphanumeric': 0.14805057955742887, 'fraction_numerical': 0.0005268703898840885, 'mean_word_length': 4.334269662921348, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4291896', 'n_tokens_mistral': 500, 'n_tokens_neox': 469, 'n_words': 251}