Build python environment on windows
Instructions for using python on Windows like Linux or Mac environment
reference
http://rinor.hatenablog.com/entry/2015/07/11/105210
Breaking away from the command prompt
cmder installation
--Download from Download Full at http://cmder.net/
--This is git, ssh, cd, ls, etc. .. .. Become usable
chocolatey installation
--Run below with cmder
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
--Now you can install various things with choco install ~
--Note: You need to close the commander once before using it.
Installation around python
python install
- choco install python -version 2.7.2
--This time I installed 2.7.2
pip installation
- choco install pip
--I failed several times, but if I close the cder and try again, the installation is complete.
--Probably because you have the related package installed, but you need to close it for it to take effect.
Installation of various python libraries
- pip install numpy
--This is OK
--If it fails, it may be related to the VC ++ compiler.
--In that case, download from https://www.microsoft.com/en-us/download/confirmation.aspx?id=44266 to solve the problem.