[PYTHON] Install Numpy on virtualenv on Windows

Speaking of Python, numerical calculation, the representative package is Numpy, but installation of this is not straightforward. Many people will be addicted to seeing hell. Especially on Windows.

The easiest way is to use a Python distribution that already has Numpy built in, such as Anaconda (also written on the official website). However, it is common to configure the environment with virtualenv and install it with pip for normal Python applications, so to be honest, I would like to follow that flow.

Therefore, I will show you how to install with pip (strictly speaking, how to install with pip).

  1. Download the Windows installer from the official website (http://sourceforge.net/projects/numpy/files/NumPy/)
  2. Open the dropped exe file with 7zip etc. There is an exe file for the CPU such as SSE inside, so pull it out (in the case of Windows, it looks like numpy-1.x.x-sse3.exe).
  3. Enable virtualenv and run the exe with ʻeasy_install easy_install c:\path\to\extracted\numpy-1.x.x-sse3.exe`

This should only be installed inside virturlenv. I think you can use this method of "dropping the installer and using easy_install", so it's good to remember.


Reference
windows + virtualenv + pip + numpy (problems when installing numpy)

Recommended Posts

Install Numpy on virtualenv on Windows
Install Python on Windows + pip + virtualenv
Install Anaconda on Windows 10
Install numpy on Marvericks
Install python on windows
Install pycuda on Windows10
Install pygraphviz on Windows 10
Install Chainer 1.5.0 on Windows
Install and run Python3.5 + NumPy + SciPy on Windows 10
Install Python3, numpy, pandas, matplotlib, etc. on Windows
Set-enable Python virtualenv on Windows
Install watchdog on Windows + Python 3.3
Install Win-Kex (kali-linux) on Windows 10.
Install cvxpy on windows, Anaconda
Install pyqt4 under virtualenv (Windows)
Install Chainer 1.6 (GPU) on Windows 7.
[Python] [Chainer] [Windows] Install Chainer on Windows
Install virtualenv
Pip install --ugrade pip fails on Windows
Install python2.7 on windows 32bit environment
Install xgboost (python version) on Windows
Build and install OpenCV on Windows
Install Pytorch on Blender 2.90 python on Windows
How to install pycrypto on Windows
Install Python development environment on Windows 10
Install PyStan on Windows without Anaconda
How to install music 21 on windows
Install easy_install and pip on windows
Python on Windows
[Kivy] How to install Kivy on Windows [Python]
Install wsl2 and master linux on windows
Virtualenv does not work on Python3.5 (Windows)
Install easy_install (Windows)
Install CVXOPT, NumPy, SciPy on Travis CI
How to install richzhang / colorization on Windows 10
How to install NumPy on Raspberry Pi
Install Numpy + atlas
Install OpenCV 4.0 and Python 3.7 on Windows 10 with Anaconda
Install Python 3.5.1 + numpy + scipy + α in Windows environment
How to quickly install h5py on Windows 10 [Unofficial]
[Python] How to install OpenCV on Anaconda [Windows]
Eliminates SSL error when PIP Install on Windows.
How to install / verify graphviz on anaconda / windows10
Install ZIP version Python and pip on Windows 10
Install mecab on Marvericks
Install Tensorflow on Mac
Install TensorFlow on Ubuntu
Install python on WSL
Install Faiss on CentOS 7
Install pyenv on mac
Install pip on Mavericks
Install Python on Pidora.
Install mongodb on termux
Install Scrapy on python3
Pylint on Windows Atom
Install docker on Fedora31
Linux (WSL) on Windows
Pyenv + virtualenv on Mac
Install numba on CentOS 7.2
Install Ansible on Mac
Install Python on Mac