Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation FAQ #314

Merged
merged 3 commits into from
May 29, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,26 @@ Before running, ensure that the directory ~/Library/Python/2.7/bin is in the app
This has also been successfully tested on a clean MAC OS 10.9.1 (Mavericks) install.


Installation Troubles (FAQ)
===========================

We highly encourage with any installation problems to try the recommended install
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
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)
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.