You can use pygram11 without OpenMP, but you might want to try fast-histogram if you just need to compute fixed bin histograms with OpenMP (see the benchmarks). If you're here for variable width histograms or the sum-of-weights-squared first class citizenry - I think you'll still find pygram11 useful.