I've added a check to configure.py so that a more helpful error message appears instead of the traceback and I've created an issue on GitHub for further discussion (https://github.com/cctbx/cctbx_project/issues/257).

--
Billy K. Poon
Research Scientist, Molecular Biophysics and Integrated Bioimaging
Lawrence Berkeley National Laboratory
1 Cyclotron Road, M/S 33R0345
Berkeley, CA 94720
Tel: (510) 486-5709
Fax: (510) 486-5909


On Fri, Nov 9, 2018 at 9:15 AM Billy Poon <BKPoon@lbl.gov> wrote:
Hi Luc,

The six and future dependencies in libtbx were added for Python 2/3 compatibility. Since the conversion for libtbx is mostly complete, it looks like a hard dependency on six and future are not really necessary. The imports can be replaced with try/except blocks, the next/__next__ and __boo__/__nonzero__ stuff can be manually handled, and there is one function from six that can be copied for reraising exceptions. Let me know if that's something you want. I'm leaning towards removing the hard dependency because it does restore the original behavior.

--
Billy K. Poon
Research Scientist, Molecular Biophysics and Integrated Bioimaging
Lawrence Berkeley National Laboratory
1 Cyclotron Road, M/S 33R0345
Berkeley, CA 94720
Tel: (510) 486-5709
Fax: (510) 486-5909


On Fri, Nov 9, 2018 at 3:02 AM Robert Oeffner <rdo20@cam.ac.uk> wrote:
You shouldn't have to specify

—with-python=\path-to-python-from-step-1

Doing

python2 bootstrap.py —builder=cctbxlite

should be sufficient.

Rob


On 09/11/2018 09:42, Luc Bourhis wrote:
> Hi,
>
> Trying to install cctbx on Windows 10,
>
> 1. install latest python 2 from Python.org
> 2. python2 bootstrap.py —builder=cctbxlite —with-python=\path-to-python-from-step-1
>
> It fails because of missing module “builtins”. So I installed pip, then used it to install “future”. Then I had to install “six” with pip. Am I being stupid or cctbx does not install out of the box anymore?
>
> Best wishes,
> Luc J Bourhis
> _______________________________________________
> cctbxbb mailing list
> cctbxbb@phenix-online.org
> http://phenix-online.org/mailman/listinfo/cctbxbb

--
Robert Oeffner, Ph.D.
Research Associate, The Read Group
Department of Haematology,
Cambridge Institute for Medical Research
University of Cambridge
Cambridge Biomedical Campus
Wellcome Trust/MRC Building
Hills Road
Cambridge CB2 0XY

www.cimr.cam.ac.uk/investigators/read/index.html
tel: +44(0)1223 763234

_______________________________________________
cctbxbb mailing list
cctbxbb@phenix-online.org
http://phenix-online.org/mailman/listinfo/cctbxbb