Trouble running GetDistGUI.py

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

Trouble running GetDistGUI.py

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 GetDistGUI.py 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 setup.py file in the GetDist directory and all the tests pass.

Thanks!

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

Re: Trouble running GetDistGUI.py

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 setup.py 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