Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Fwd: Multiple python installations on opensuse?

Reply
Thread Tools

Fwd: Multiple python installations on opensuse?

 
 
Ishwor Gurung
Guest
Posts: n/a
 
      12-17-2009
Scipy needs various libraries. On Ubuntu (which I use) -

Depends: python (< 2.7), python (>= 2.5), python-central (>= 0.6.11),
python-numpy (>= 1:1.2.0), libblas3gf | libblas.so.3gf |
libatlas3gf-base, libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libgfortran3
(>= 4.3), liblapack3gf | liblapack.so.3gf | libatlas3gf-base,
libstdc++6 (>= 4.1.1), libsuitesparse-3.2.0 (>= 1:3.2.0)

So, doing a source/binary install similarly and then install Scipy again.

---------- Forwarded message ----------
From: Johan Ekh <>
Date: 2009/12/17
Subject: Re: Multiple python installations on opensuse?
To: Ishwor Gurung <>


Thanks guys,
I installed it as root without the --prefix option using "make
altinstall" instead of "make install".
It worked and I can now execute python2.4.6 with "python2.4 while
python2.6 is still executed
with "python".

I also managed to install numpy with "python2.4 setup.py install".
However, installing scipy
in the same way failed with the error below. Most of my libraries
appears to be in /usr/lib64/
or /usr/local/lib64 and the install script can't find them because it
searched /usr/lib/ and /usr/local/lib/.

How can I fix this?

Sorry for newbiesh questions...

//Johan

== Output from "python2.4 setup.py install"

Warning: No configuration returned, assuming unavailable.
blas_opt_info:
blas_mkl_info:
* libraries mkl,vml,guide not found in /usr/local/lib
* libraries mkl,vml,guide not found in /usr/lib
* NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
* libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
* libraries ptf77blas,ptcblas,atlas not found in /usr/lib
* NOT AVAILABLE

atlas_blas_info:
* libraries f77blas,cblas,atlas not found in /usr/local/lib
* libraries f77blas,cblas,atlas not found in /usr/lib
* NOT AVAILABLE

/usr/local/lib/python2.4/site-packages/numpy/distutils/system_info.py:1340:
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 /usr/local/lib
* libraries blas not found in /usr/lib
* NOT AVAILABLE

/usr/local/lib/python2.4/site-packages/numpy/distutils/system_info.py:1349:
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

/usr/local/lib/python2.4/site-packages/numpy/distutils/system_info.py:1352:
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 92, in ?
*** setup_package()
* File "setup.py", line 84, in setup_package
*** configuration=configuration )
* File "/usr/local/lib/python2.4/site-packages/numpy/distutils/core.py",
line 150, in setup
*** config = configuration()
* File "setup.py", line 54, in configuration
*** config.add_subpackage('scipy')
* File "/usr/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 851, in add_subpackage
*** caller_level = 2)
* File "/usr/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 834, in get_subpackage
*** caller_level = caller_level + 1)
* File "/usr/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 781, in _get_configuration_from_setup_py
*** config = setup_module.configuration(*args)
* File "scipy/setup.py", line 8, in configuration
*** config.add_subpackage('integrate')
* File "/usr/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 851, in add_subpackage
*** caller_level = 2)
* File "/usr/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 834, in get_subpackage
*** caller_level = caller_level + 1)
* File "/usr/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 781, in _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 "/usr/local/lib/python2.4/site-packages/numpy/distutils/system_info.py",
line 267, in get_info
*** return cl().get_info(notfound_action)
* File "/usr/local/lib/python2.4/site-packages/numpy/distutils/system_info.py",
line 416, 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.












On Thu, Dec 17, 2009 at 11:59 AM, Ishwor Gurung <> wrote:
>
> > As root-

> PEBKAC :>
>
> No need to be root to install in your home dir.
>
> [...]
> --
> Regards,
> Ishwor Gurung





--
Regards,
Ishwor Gurung
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple Python 2.7 Windows installations Eric Frederich Python 1 04-19-2011 09:27 PM
Multiple python installations mix their sys.prefix Tech Support Box Python 1 01-24-2011 12:19 PM
Re: Multiple python installations on opensuse? Ishwor Gurung Python 0 12-17-2009 11:01 AM
sys.path with multiple Python installations Xavier Lapointe Desjardins Python 0 03-05-2009 03:48 AM
Newbie question: Multiple installations of Python on Windows machines Don Taylor Python 5 02-22-2006 11:38 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57