windows - New to Python (3.4.3), trying to pip install basic libraries and receiving this message -
command "c:\python34\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\jamey\\appdata\\local\\temp\\pip-build-4xxi4hts\\numpy\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\jamey\appdata\local\temp\pip-l8qukpar-record\install-record.txt --single-version-externally-managed --compile" failedwith error code 1 in c:\users\jamey\appdata\local\temp\pip-build-4xxi4hts\numpy
it has lot of errors, need add basic libaries before installing more advance ones? tells me need microsoft visual c++ 10.0
for numpy , other such libraries, these difficult build on windows because need compiled during installation. setting proper build environment difficult on windows.
you have few choices:
download build of python includes these libraries. popular package of python includes numpy (and other scientific libraries) anaconda. scipy download page lists more options you.
download pre-compiled binaries windows. these available standard windows installers. example here link downloads numpy 1.9 (you can download windows installer there).
a list of pre-compiled python modules windows available here. suggest bookmark page , when have trouble installing on windows, chances listed there.
if downloading packages, make sure download right version of python. if there 2 versions (a 64 bit , 32 bit) available, this refers version of python not windows have installed.
Comments
Post a Comment