Skip to main content
Question Protected by CommunityBot
Copy edited. Added some context.
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

installing scipy Installing SciPy and numpyNumPy using pip

I'm trying to create required libraries in a package i'mI'm distributing. It It requires both the scipySciPy and numpyNumPy libraries. While developing, I installed bothboth using

apt-get install scipy 

which installed scipySciPy 0.9.0 and numpyNumPy 1.5.1, and it worked fine.

I would like to do the same using pip installpip install - in order to be able to specify dependencies in a setup.py of my own package.

ProblemThe problem is, when iI try:

pip install 'numpy==1.5.1' 

it works fine. but

But then

pip install 'scipy==0.9.0' 

fails miserably, with

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. 

How do I get it to work?

installing scipy and numpy using pip

I'm trying to create required libraries in a package i'm distributing. It requires both the scipy and numpy libraries. While developing, I installed both using

apt-get install scipy 

which installed scipy 0.9.0 and numpy 1.5.1, and worked fine.

I would like to do the same using pip install - in order to be able to specify dependencies in a setup.py of my own package.

Problem is, when i try:

pip install 'numpy==1.5.1' 

it works fine. but then

pip install 'scipy==0.9.0' 

fails miserably, with

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. 

How do I get it to work?

Installing SciPy and NumPy using pip

I'm trying to create required libraries in a package I'm distributing. It requires both the SciPy and NumPy libraries. While developing, I installed both using

apt-get install scipy 

which installed SciPy 0.9.0 and NumPy 1.5.1, and it worked fine.

I would like to do the same using pip install - in order to be able to specify dependencies in a setup.py of my own package.

The problem is, when I try:

pip install 'numpy==1.5.1' 

it works fine.

But then

pip install 'scipy==0.9.0' 

fails miserably, with

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. 

How do I get it to work?

added 2 characters in body
Source Link
eran
  • 15.3k
  • 38
  • 107
  • 150

I'm trying to create required libraries in a package i'm distributing. It requires both the scipy and numpy libraries. While developing, I installed both using

apt-get install scipy 

which installed scipy 0.9.0 and numpy 1.5.1, and worked fine.

I would like to do the same using pip install - in order to be able to specify dependencies in a setup.py of my own package.

Problem is, when i try:

pip install 'numpy=1'numpy==1.5.1' 

it works fine. but then

pip install 'scipy=0'scipy==0.9.0' 

fails miserably, with

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. 

How do I get it to work?

I'm trying to create required libraries in a package i'm distributing. It requires both the scipy and numpy libraries. While developing, I installed both using

apt-get install scipy 

which installed scipy 0.9.0 and numpy 1.5.1, and worked fine.

I would like to do the same using pip install - in order to be able to specify dependencies in a setup.py of my own package.

Problem is, when i try:

pip install 'numpy=1.5.1' 

it works fine. but then

pip install 'scipy=0.9.0' 

fails miserably, with

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. 

How do I get it to work?

I'm trying to create required libraries in a package i'm distributing. It requires both the scipy and numpy libraries. While developing, I installed both using

apt-get install scipy 

which installed scipy 0.9.0 and numpy 1.5.1, and worked fine.

I would like to do the same using pip install - in order to be able to specify dependencies in a setup.py of my own package.

Problem is, when i try:

pip install 'numpy==1.5.1' 

it works fine. but then

pip install 'scipy==0.9.0' 

fails miserably, with

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. 

How do I get it to work?

edited tags
Link
user372551
user372551
Source Link
eran
  • 15.3k
  • 38
  • 107
  • 150
Loading