, numpy
Python 2.7.13
64- Windows 10
, . numpy
32- 64- Python 2.7.13
. .
32- Python
.
- 64- Python
.
64- Python
.
, , , - , , , -, Python
, (https://www.python.org/downloads/) - 32-.
numpy
32- Python 2.7.13
uninstalled Anaconda
Anaconda
User Variables
Environment Variables
Python 2.7.13
Python: https://www.python.org/
:
C:\\ 1 > CD:\python27
pip
, pip
:
python -m pip install -U pip
, :
pip install numpy
:
python -m pip install numpy
7, , . :
C:\Python27>python -m pip install numpy
Collecting numpy
Retrying (Retry(total=4, connect=None, read=None, redirect=None))
after connection broken by 'ProtocolError('Connection aborted.',
error(10054, 'An existing connection was forcibly
closed by the remote host'))': /simple/numpy/
Downloading numpy-1.12.0-cp27-none-win32.whl (6.6MB)
100% |
Installing collected packages: numpy
Successfully installed numpy-1.12.0
Python 2.7.13
:
import numpy
. .
, numpy
, , , , , .
7 , 32- :
numpy-1.12.0-cp27-none-win32.whl
, 32- numpy
64- . , 64- , , , 32- , .
Python
( Numpy 32- 64-?):
import numpy.distutils.system_info as sysinfo
sysinfo.platform_bits
32
, , 32- numpy
, Python
64- (: python 32- 64- OS X?:
import platform
platform.architecture()[0]
'32bit'
, Python
32- . Python
64- . , , , - .
, 64- Python 2.7.13
, - Python
(: https://www.python.org/downloads/windows/):
Download Windows x86-64 MSI installer
(https://www.python.org/downloads/):
Download Python 2.7.13
, numpy-1.12.0-cp27-none-win32.whl
. , . , : https://pypi.python.org/pypi/numpy
numpy
64- Python 2.7.13
numpy
, 32- Python 2.7.13
.
numpy 64- Python 2.7.13
, :
:
C:\Python27>pip install numpy
Collecting numpy
Downloading numpy-1.12.0-cp27-none-win_amd64.whl (7.5MB)
100% |
Installing collected packages: numpy
Successfully installed numpy-1.12.0
Python 2.7.13
:
import numpy
.
, numpy
64- 32-. 64-.
numpy.distutils.system_info sysinfo
sysinfo.platform_bits
64
numpy
Python 2.7.13
numpy
scipy
: numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
( Windows Scipy Install: Lapack/Blas).
:
scipy
cannot import name NUMPY_MKL
(ImportError: NUMPY_MKL).
numpy-1.12.0+mkl-cp27-cp27m-win_amd64.whl
scipy-0.18.1-cp27-cp27m-win_amd64.whl
: http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy, VMAtm.
I:
numpy
scipy
Python 2.7.13
, scipy-0.18.1-cp27-cp27m-win_amd64.whl
numpy-1.12.0+mkl-cp27-cp27m-win_amd64.whl
c:\Python27
pip
.
C:\>cd\Python27
C:\Python27>pip install numpy-1.12.0+mkl-cp27-cp27m-win_amd64.whl
Processing c:\python27\numpy-1.12.0+mkl-cp27-cp27m-win_amd64.whl
Installing collected packages: numpy
Successfully installed numpy-1.12.0+mkl
C:\Python27>pip install scipy-0.18.1-cp27-cp27m-win_amd64.whl
Processing c:\python27\scipy-0.18.1-cp27-cp27m-win_amd64.whl
Installing collected packages: scipy
Successfully installed scipy-0.18.1
C:\Python27>