[SciPy-User] Problems installing scipy [was: Sanity checklist for SciPy'09 tutorials]

josef.pktd at gmail.com josef.pktd at gmail.com
Fri Aug 14 21:30:48 EDT 2009


On Fri, Aug 14, 2009 at 6:03 PM, David Goldsmith<d_l_goldsmith at yahoo.com> wrote:
> Hi!  Problem(s) installing "bleeding edge" svn checkout (done just now; no checkout problems reported) of scipy using "python setup.py install" on the (DOS Terminal) command line.
>
> Platform: Windows Vista Home Premium SP1
> Python: 2.6.2
> (Numpy 1.3.0rc2 already installed and run successfully numerous times).

I'm on WindowsXP python 2.5.2, and never tried Vista or Python 2.6, so
I don't have version specific information.

Note: recent scipy svn requires recent svn of numpy. so you would also
have to rebuild numpy from svn.

Getting the "bleeding" edge installed, especially the first time, is
no fun (although not too bad on XP if you follow good instructions and
don't build lapack). If you can avoid it go with the latest official
installers. The tutorials don't require bleeding edge.

The main instructions for building scipy are here
http://scipy.org/Installing_SciPy/Windows#head-cd37d819e333227e327079e4c2a2298daf625624

The link goes to the Blas/Lapack part, from where I initially copied
the binaries.

Just one explanation to questions below:

scipy is only scipy, no other packages included. Separate installer
for windows for matplotlib, ipython, and so on are available and
usually work without problems,

EPD or python(xy) can give you the full stack although not at the
"bleeding" edge. Additionally, python(xy) has binary installers for
individual packages which is very nice and work without problems what
little I have tried.

So my recommendation with Windows is to go with the installers or full
distributions, unless you really need the latest svn/hg/git/bzr
versions, or you want to spend the time to get fully setup for
development.

I think Blas is not listed as a prerequisite of the tutorials, because
you only need it to build the prerequisites (and for building the full
stack you would need a lot more.)

Josef

>
> Output: (lengthy; questions follow)
>
> C:\Python26\Lib\site-packages\scipy>python setup.py install
> setup.py:63: UserWarning:  --- Could not run svn info ---
>   warnings.warn(" --- Could not run svn info --- ")
> Warning: No configuration returned, assuming unavailable.
> blas_opt_info:
> blas_mkl_info:
>   libraries mkl,vml,guide not found in C:\Python26\lib
>   libraries mkl,vml,guide not found in C:\
>   libraries mkl,vml,guide not found in C:\Python26\libs
>   NOT AVAILABLE
>
> atlas_blas_threads_info:
> Setting PTATLAS=ATLAS
>   NOT AVAILABLE
>
> atlas_blas_info:
>   NOT AVAILABLE
>
> C:\Python26\lib\site-packages\numpy\distutils\system_info.py:1383: UserWarning:
>
>     Atlas (http://math-atlas.sourceforge.net/) libraries not found.
>     Directories to search for the libraries can be specified in the
>     numpy/distutils/site.cfg file (section [atlas]) or by setting
>     the ATLAS environment variable.
>   warnings.warn(AtlasNotFoundError.__doc__)
> blas_info:
>   libraries blas not found in C:\Python26\lib
>   libraries blas not found in C:\
>   libraries blas not found in C:\Python26\libs
>   NOT AVAILABLE
>
> C:\Python26\lib\site-packages\numpy\distutils\system_info.py:1392: UserWarning:
>
>     Blas (http://www.netlib.org/blas/) libraries not found.
>     Directories to search for the libraries can be specified in the
>     numpy/distutils/site.cfg file (section [blas]) or by setting
>     the BLAS environment variable.
>   warnings.warn(BlasNotFoundError.__doc__)
> blas_src_info:
>   NOT AVAILABLE
>
> C:\Python26\lib\site-packages\numpy\distutils\system_info.py:1395: UserWarning:
>
>     Blas (http://www.netlib.org/blas/) sources not found.
>     Directories to search for the sources can be specified in the
>     numpy/distutils/site.cfg file (section [blas_src]) or by setting
>     the BLAS_SRC environment variable.
>   warnings.warn(BlasSrcNotFoundError.__doc__)
> Traceback (most recent call last):
>   File "setup.py", line 160, in <module>
>     setup_package()
>   File "setup.py", line 152, in setup_package
>     configuration=configuration )
>   File "C:\Python26\lib\site-packages\numpy\distutils\core.py", line 150, in set
> up
>     config = configuration()
>   File "setup.py", line 118, in configuration
>     config.add_subpackage('scipy')
>   File "C:\Python26\lib\site-packages\numpy\distutils\misc_util.py", line 852, i
> n add_subpackage
>     caller_level = 2)
>   File "C:\Python26\lib\site-packages\numpy\distutils\misc_util.py", line 835, i
> n get_subpackage
>     caller_level = caller_level + 1)
>   File "C:\Python26\lib\site-packages\numpy\distutils\misc_util.py", line 782, i
> n _get_configuration_from_setup_py
>     config = setup_module.configuration(*args)
>   File "scipy\setup.py", line 8, in configuration
>     config.add_subpackage('integrate')
>   File "C:\Python26\lib\site-packages\numpy\distutils\misc_util.py", line 852, i
> n add_subpackage
>     caller_level = 2)
>   File "C:\Python26\lib\site-packages\numpy\distutils\misc_util.py", line 835, i
> n get_subpackage
>     caller_level = caller_level + 1)
>   File "C:\Python26\lib\site-packages\numpy\distutils\misc_util.py", line 782, i
> n _get_configuration_from_setup_py
>     config = setup_module.configuration(*args)
>   File "scipy\integrate\setup.py", line 10, in configuration
>     blas_opt = get_info('blas_opt',notfound_action=2)
>   File "C:\Python26\lib\site-packages\numpy\distutils\system_info.py", line 303,
>  in get_info
>     return cl().get_info(notfound_action)
>   File "C:\Python26\lib\site-packages\numpy\distutils\system_info.py", line 454,
>  in get_info
>     raise self.notfounderror,self.notfounderror.__doc__
> numpy.distutils.system_info.BlasNotFoundError:
>     Blas (http://www.netlib.org/blas/) libraries not found.
>     Directories to search for the libraries can be specified in the
>     numpy/distutils/site.cfg file (section [blas]) or by setting
>     the BLAS environment variable.
>
> Does one need to install BLAS separately?  If so, that should be added to the Pre-requisites on http://conference.scipy.org/intro_tutorial.
>
> Also vague from that page:
>
> Are iPython, matplotlib, and Mayavi separate download/installs (i.e., not part of scipy?  I thought, at least, matplotlib was included with scipy, no?)
>
> Do they need to be installed in the order listed?  In particular, can EPD or Python(x,y) be installed before the others?
>
> Finally, a comment/question: this is *a lot* of stuff - how necessary is it all, really?  In particular, I signed up for the "advanced" track ('cause, based on the advertised content, that's where I am vis-a-vis the numpy content, which appears to be a substantial portion of the tutorials), but I'm "intermediate" w/ matplotlib and "novice" w/ everything else on the list - is this going to be a problem?
>
> DG
>
> --- On Sun, 8/9/09, Fernando Perez <fperez.net at gmail.com> wrote:
>
>> From: Fernando Perez <fperez.net at gmail.com>
>> Subject: [Numpy-discussion] Sanity checklist for those attending the SciPy'09 tutorials
>> To: "Discussion of Numerical Python" <numpy-discussion at scipy.org>, "SciPy Users List" <scipy-user at scipy.org>
>> Date: Sunday, August 9, 2009, 2:12 AM
>> Hi all,
>>
>> [ sorry for spamming the list, but even though I sent this
>> to all the
>> email addresses I have on file for tutorial attendees, I
>> know I am
>> missing a few, so I hope they see this message. ]
>>
>> In order to make your experience at the scipy tutorials as
>> smooth as
>> possible, we strongly recommend that you take a little time
>> to install
>> the necessary tools in advance.
>>
>> For both introductory and advanced  tutorials:
>>
>> http://conference.scipy.org/intro_tutorial
>> http://conference.scipy.org/advanced_tutorials
>>
>> you will find instructions on what to install and where to
>> download it
>> from.  In addition (this is also mentioned on those
>> pages), we
>> encourage you to run according to your tutorial of choice,
>> a little
>> checklist script:
>>
>> https://cirl.berkeley.edu/fperez/tmp/intro_tut_checklist.py
>> https://cirl.berkeley.edu/fperez/tmp/adv_tut_checklist.py
>>
>> This will try to  spot any problems early, and we'll
>> do our best  to
>> help you with them before you arrive to the conference.
>>
>> Best regards,
>>
>> Dave Peterson and Fernando Perez.
>>
>> ps - for those of you who may find fixes for the checklist
>> scripts,
>> the sources are hosted on github:
>>
>> http://github.com/fperez/scipytut/
>> _______________________________________________
>> NumPy-Discussion mailing list
>> NumPy-Discussion at scipy.org
>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>>
>
>
>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>



More information about the SciPy-User mailing list