<commit_before>.. _installation:

Installation
============
We recommend installing Pecan with ``pip`` but you can also try with
``easy_install`` and ``virtualenv``. Creating a spot in your environment where
Pecan can be isolated from other packages is best practice.

To get started with an environment for Pecan, create a virtual environment for
it without any site-packages that might pollute::

    virtualenv --no-site-packages pecan-env
    cd pecan-env 
    source bin/activate

The above commands created a virtual environment and *activated* it. Those
actions will encapsulate anything that we do with the framework, making it
easier to debug problems if needed.

But we do not have Pecan yet, so let's grab it from PYPI::

    pip install pecan 

After a lot of output, you should have Pecan successfully installed and ready
to use.


Development (Unstable) Version
------------------------------
If you want to run the development version of Pecan you will
need GIT installed and clone the repo from github::

    git clone https://github.com/cleverdevil/pecan.git<commit_msg>Another warning message on installation<commit_after>.. _installation:

Installation
============

.. warning::
    This section is out of date. Please do not refer to it directly.

We recommend installing Pecan with ``pip`` but you can also try with
``easy_install`` and ``virtualenv``. Creating a spot in your environment where
Pecan can be isolated from other packages is best practice.

To get started with an environment for Pecan, create a virtual environment for
it without any site-packages that might pollute::

    virtualenv --no-site-packages pecan-env
    cd pecan-env 
    source bin/activate

The above commands created a virtual environment and *activated* it. Those
actions will encapsulate anything that we do with the framework, making it
easier to debug problems if needed.

But we do not have Pecan yet, so let's grab it from PYPI::

    pip install pecan 

After a lot of output, you should have Pecan successfully installed and ready
to use.


Development (Unstable) Version
------------------------------
If you want to run the development version of Pecan you will
need GIT installed and clone the repo from github::

    git clone https://github.com/cleverdevil/pecan.git
{'fraction_non_alphanumeric': 0.08581436077057793, 'fraction_numerical': 0.0, 'mean_word_length': 3.6068548387096775, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2857368', 'n_tokens_mistral': 609, 'n_tokens_neox': 571, 'n_words': 315}