Trouble running

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Richard Hall
Posts: 1
Joined: August 02 2017
Affiliation: Cambridge University

Trouble running

Post by Richard Hall » August 02 2017

Hi I've recently installed GetDist to plot distributions from a MCMC script I use.

I'm trying to run the but am getting this error message:

Code: Select allp>

Could not find getdist.gui.mainwindow: configure your PYTHONPATH as described in the readme!
In the readme it doesn't mention anything about PYTHONPATH (not that I can see), any ideas?

I'm running MacOSX 10.12.5, python 2.7.11, I have installed all the relevant dependencies with pip, I can run the file in the GetDist directory and all the tests pass.


Antony Lewis
Posts: 1352
Joined: September 23 2004
Affiliation: University of Sussex

Re: Trouble running

Post by Antony Lewis » August 02 2017

The error is when getdist is not in your path (e.g. "import getdist" will fails). You installed using pip, or ran install, the path should be fine. If installed from git, then need to include the relevant path in PYTHONPATH.

The error might also come from some other missing import, also check the final exception message.

Post Reply