minos
minos copied to clipboard
Not able to install on window virtual machine
I'm using a windows virtual machine. I got the following log and error when installing the package:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
self.calc_info()
C:\Program Files\Microsoft\R Server\R_SERVER\DeployR\rserve\workdir\tmp\easy
_install-q3xx5j2g\numpy-1.12.1\numpy\distutils\system_info.py:572: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
self.calc_info()
C:\Program Files\Microsoft\R Server\R_SERVER\DeployR\rserve\workdir\tmp\easy
_install-q3xx5j2g\numpy-1.12.1\numpy\distutils\system_info.py:572: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
self.calc_info()
C:\Anaconda\envs\py35\lib\distutils\dist.py:261: UserWarning: Unknown distri
bution option: 'define_macros'
warnings.warn(msg)
Traceback (most recent call last):
File "C:\Program Files\Microsoft\R Server\R_SERVER\DeployR\rserve\workdir
tmp\easy_install-q3xx5j2g\numpy-1.12.1\numpy\distutils\command\config.py", line
51, in _check_compiler
File "C:\Anaconda\envs\py35\lib\distutils_msvccompiler.py", line 199, in
initialize
vc_env = _get_vc_env(plat_spec)
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\msvc.py", line 17
6, in msvc14_get_vc_env
return EnvironmentInfo(plat_spec, vc_min_ver=14.0).return_env()
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\msvc.py", line 12
20, in return_env
self.OSIncludes,
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\msvc.py", line 95
5, in OSIncludes
sdkver = self._sdk_subdir
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\msvc.py", line 10
49, in _sdk_subdir
ucrtver = self.si.WindowsSdkLastVersion
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\msvc.py", line 59
6, in WindowsSdkLastVersion
self.WindowsSdkDir, 'lib'))
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\msvc.py", line 80
1, in _use_last_dir_name
for dir_name in reversed(os.listdir(path))
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
313, in wrap
return original(path, *args, **kw)
FileNotFoundError: [WinError 3] The system cannot find the path specified: '
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\PlatformSDK\lib'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Anaconda\envs\py35\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Anaconda\envs\py35\lib\distutils\dist.py", line 955, in run_comma
nds
self.run_command(cmd)
File "C:\Anaconda\envs\py35\lib\distutils\dist.py", line 974, in run_comma
nd
cmd_obj.run()
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\command\bdist_egg
.py", line 152, in run
self.run_command("egg_info")
File "C:\Anaconda\envs\py35\lib\distutils\cmd.py", line 313, in run_comman
d
self.distribution.run_command(command)
File "C:\Anaconda\envs\py35\lib\distutils\dist.py", line 974, in run_comma
nd
cmd_obj.run()
File "C:\Program Files\Microsoft\R Server\R_SERVER\DeployR\rserve\workdir
tmp\easy_install-q3xx5j2g\numpy-1.12.1\numpy\distutils\command\egg_info.py", lin
e 18, in run
File "C:\Anaconda\envs\py35\lib\distutils\cmd.py", line 313, in run_comman
d
self.distribution.run_command(command)
File "C:\Anaconda\envs\py35\lib\distutils\dist.py", line 974, in run_comma
nd
cmd_obj.run()
File "C:\Program Files\Microsoft\R Server\R_SERVER\DeployR\rserve\workdir
tmp\easy_install-q3xx5j2g\numpy-1.12.1\numpy\distutils\command\build_src.py", li
ne 148, in run
File "C:\Program Files\Microsoft\R Server\R_SERVER\DeployR\rserve\workdir
tmp\easy_install-q3xx5j2g\numpy-1.12.1\numpy\distutils\command\build_src.py", li
ne 159, in build_sources
File "C:\Program Files\Microsoft\R Server\R_SERVER\DeployR\rserve\workdir
tmp\easy_install-q3xx5j2g\numpy-1.12.1\numpy\distutils\command\build_src.py", li
ne 294, in build_library_sources
File "C:\Program Files\Microsoft\R Server\R_SERVER\DeployR\rserve\workdir
tmp\easy_install-q3xx5j2g\numpy-1.12.1\numpy\distutils\command\build_src.py", li
ne 377, in generate_sources
File "numpy\core\setup.py", line 663, in get_mathlib_info
File "C:\Anaconda\envs\py35\lib\distutils\command\config.py", line 243, in
try_link
self._check_compiler()
File "C:\Program Files\Microsoft\R Server\R_SERVER\DeployR\rserve\workdir
tmp\easy_install-q3xx5j2g\numpy-1.12.1\numpy\distutils\command\config.py", line
66, in _check_compiler
distutils.errors.DistutilsPlatformError: Could not initialize compiler insta
nce: do you have Visual Studio
installed? If you are trying to build with MinGW, please use "python setup.
py
build -c mingw32" instead. If you have Visual Studio installed, check it is
correctly installed, and the right version (VS 2008 for python 2.6, 2.7 and
3.2, VS 2010 for >= 3.3).
Original exception was: [WinError 3] The system cannot find the path specifi
ed: 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\PlatformSDK\lib ', and the Compiler class was MSVCCompiler ============================================================================
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
157, in save_modules
yield saved
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
198, in setup_context
yield
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
255, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
285, in run
return func()
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
253, in runner
_execfile(setup_script, ns)
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
47, in _execfile
exec(code, globals, locals)
File "C:\Program Files\Microsoft\R Server\R_SERVER\DeployR\rserve\workdir
tmp\easy_install-q3xx5j2g\numpy-1.12.1\setup.py", line 391, in
tmp\easy_install-q3xx5j2g\numpy-1.12.1\setup.py", line 383, in setup_package
File "C:\Program Files\Microsoft\R Server\R_SERVER\DeployR\rserve\workdir
tmp\easy_install-q3xx5j2g\numpy-1.12.1\numpy\distutils\core.py", line 169, in se
tup
File "C:\Anaconda\envs\py35\lib\distutils\core.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: Could not initialize compiler instance: do you have Visua
l Studio
installed? If you are trying to build with MinGW, please use "python setup.
py
build -c mingw32" instead. If you have Visual Studio installed, check it is
correctly installed, and the right version (VS 2008 for python 2.6, 2.7 and
3.2, VS 2010 for >= 3.3).
Original exception was: [WinError 3] The system cannot find the path specifi
ed: 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\PlatformSDK\lib ', and the Compiler class was MSVCCompiler ============================================================================
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\command\easy_inst
all.py", line 1105, in run_setup
run_setup(setup_script, args)
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
258, in run_setup
raise
File "C:\Anaconda\envs\py35\lib\contextlib.py", line 77, in exit
self.gen.throw(type, value, traceback)
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
198, in setup_context
yield
File "C:\Anaconda\envs\py35\lib\contextlib.py", line 77, in exit
self.gen.throw(type, value, traceback)
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
169, in save_modules
saved_exc.resume()
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
144, in resume
six.reraise(type, exc, self._tb)
File "C:\Anaconda\envs\py35\lib\site-packages\six.py", line 685, in rerais
e
raise value.with_traceback(tb)
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
157, in save_modules
yield saved
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
198, in setup_context
yield
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
255, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
285, in run
return func()
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
253, in runner
_execfile(setup_script, ns)
File "C:\Anaconda\envs\py35\lib\site-packages\setuptools\sandbox.py", line
47, in _execfile
exec(code, globals, locals)
File "C:\Program Files\Microsoft\R Server\R_SERVER\DeployR\rserve\workdir
tmp\easy_install-q3xx5j2g\numpy-1.12.1\setup.py", line 391, in
tmp\easy_install-q3xx5j2g\numpy-1.12.1\setup.py", line 383, in setup_package
File "C:\Program Files\Microsoft\R Server\R_SERVER\DeployR\rserve\workdir
tmp\easy_install-q3xx5j2g\numpy-1.12.1\numpy\distutils\core.py", line 169, in se
tup
File "C:\Anaconda\envs\py35\lib\distutils\core.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: Could not initialize compiler instance: do you have Visua
l Studio
installed? If you are trying to build with MinGW, please use "python setup.
py
build -c mingw32" instead. If you have Visual Studio installed, check it is
correctly installed, and the right version (VS 2008 for python 2.6, 2.7 and
3.2, VS 2010 for >= 3.3).
Original exception was: [WinError 3] The system cannot find the path specifi
ed: 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\PlatformSDK\lib ', and the Compiler class was MSVCCompiler ============================================================================
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Program Files\Microsoft\R Server\R_SERVER\DeployR\rserve\workdir\
tmp\pip-build-y05fblor\pyminos\setup.py", line 30, in
correctly installed, and the right version (VS 2008 for python 2.6, 2.7 and
3.2, VS 2010 for >= 3.3).
Original exception was: [WinError 3] The system cannot find the path specifi
ed: 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\PlatformSDK\lib ', and the Compiler class was MSVCCompiler ============================================================================
============================================================================
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Program Files
Microsoft\R Server\R_SERVER\DeployR\rserve\workdir\tmp\pip-build-y05fblor\pymino
s
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' comm
and.