On 06 Nov 2017, at 21:39, Billy Poon <[email protected]> wrote:Also, if you already have cctbx installed, you can install scipy into that version of python by,cctbx.python -m pip install scipyThat command places scipy in the same location as the other cctbx dependencies._______________________________________________--Billy K. PoonResearch Scientist, Molecular Biophysics and Integrated BioimagingLawrence Berkeley National Laboratory1 Cyclotron Road, M/S 33R0345Berkeley, CA 94720Tel: (510) 486-5709Fax: (510) 486-5909On Mon, Nov 6, 2017 at 12:32 PM, Peter Zwart <[email protected]> wrote:I find the easiest way to do this is to install scipy with pip, and use the python associated with that install to be used as the python to compile the cctbx under.POn 6 November 2017 at 12:18, Magnus Andersson <magnus.andersson@scilifelab.se > wrote:______________________________Hello,I am not normally using cctbx but I’m trying to run a script that imports modules as follows:import sys,io,osimport subprocessimport numpyimport pickleimport mathimport pylab#import pymolimport timeimport scipyimport iotbx.pdbimport cctbximport mmtbx.modelfrom scipy.optimize import fmin, fmin_cg, leastsqfrom scipy.interpolate import interp1dimport datetimefrom numpy.random import random_samplefrom cctbx.array_family import flexfrom scitbx.math import superposeI have installed cctbx and run with cctbx.python.How can I import scipy into the cctbx python?Cheers,Magnus####Magnus Andersson, Docent, Ph.D.Email: [email protected]Phone: 0769469872Mailing address:Science For Life LaboratoryAlpha 6Box 1031171 21 SolnaVisiting address:Tomtebodavägen 23A171 65 Solna_________________
cctbxbb mailing list
[email protected]
http://phenix-online.org/mailman/listinfo/cctbxbb
-------------------------------------------------------------- ----- P.H. Zwart
Staff ScientistMolecular Biophysics and Integrated Bioimaging &Center for Advanced Mathematics for Energy Research ApplicationsPHENIX: http://www.phenix-online.org CAMERA: http://camera.lbl.gov/------------------------------------------------------------ -----
_______________________________________________
cctbxbb mailing list
[email protected]
http://phenix-online.org/mailman/listinfo/cctbxbb
cctbxbb mailing list
[email protected]
http://phenix-online.org/mailman/listinfo/cctbxbb