Skip to content

Commit

Permalink
verbatized the commands
Browse files Browse the repository at this point in the history
  • Loading branch information
wkerzendorf committed May 28, 2015
1 parent adb4a9b commit 6657d16
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,19 +174,19 @@ We highly encourage with any installation problems to try the recommended instal
method because this often fix problems. Here are some common problems when
installing and their fixes:

**Problem:** While building tardis via `python setup.py` build you
**Problem:** While building tardis via ``python setup.py`` build you
may encounter the following error::

error: tardis/montecarlo/montecarlo.c: Could not find C file tardis/montecarlo/montecarlo.c for Cython file tardis/montecarlo/montecarlo.pyx when building extension tardis.montecarlo.montecarlo. Cython must be installed to build from a git checkout.


**Solution:** There are several solutions to this problem. A clean checkout will
help. To clean up your repository please try `python setup.py clean` and
then `git clean -dfx` (**WARNING** will delete any non tardis file in that directory)
help. To clean up your repository please try ``python setup.py clean`` and
then ``git clean -dfx`` (**WARNING** will delete any non tardis file in that directory)
This will often clean this problem. If it still persists:

Go into the tardis/montecarlo directory and build montecarlo.c by hand::

cython montecarlo.pyx

Then, `python setup.py build` should run without problems.
Then, ``python setup.py build`` should run without problems.

0 comments on commit 6657d16

Please sign in to comment.