Skip to content

Install nupic in windows10 by command: pip install nupic, gaven this error message:  #3893

Description

@fenfeibani

Collecting pytest-cov==2.5.0
Using cached pytest_cov-2.5.0-py2.py3-none-any.whl (21 kB)
Collecting prettytable==0.7.2
Using cached prettytable-0.7.2.tar.bz2 (21 kB)
Collecting pyproj==1.9.3
Using cached pyproj-1.9.3.tar.gz (2.7 MB)
ERROR: Command errored out with exit status 1:
command: 'd:\python27\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\users\kzy\appdata\local\temp\pip-install-6eztzc\pyproj\setup.py'"'"'; file='"'"'c:\users\kzy\appdata\local\temp\pip-install-6eztzc\pyproj\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'c:\users\kzy\appdata\local\temp\pip-pip-egg-info-nxnfyl'
cwd: c:\users\kzy\appdata\local\temp\pip-install-6eztzc\pyproj
Complete output (17 lines):
Traceback (most recent call last):
File "", line 1, in
File "c:\users\kzy\appdata\local\temp\pip-install-6eztzc\pyproj\setup.py", line 14, in
objects = cc.compile(['nad2bin.c', 'src/pj_malloc.c'])
File "d:\python27\lib\distutils\msvc9compiler.py", line 473, in compile
self.initialize()
File "d:\python27\lib\distutils\msvc9compiler.py", line 383, in initialize
vc_env = query_vcvarsall(VERSION, plat_spec)
File "d:\python27\lib\site-packages\setuptools\msvc.py", line 147, in msvc9_query_vcvarsall
return EnvironmentInfo(arch, ver).return_env()
File "d:\python27\lib\site-packages\setuptools\msvc.py", line 1227, in return_env
[self.VCIncludes,
File "d:\python27\lib\site-packages\setuptools\msvc.py", line 876, in VCIncludes
return [os.path.join(self.si.VCInstallDir, 'Include'),
File "d:\python27\lib\site-packages\setuptools\msvc.py", line 555, in VCInstallDir
raise distutils.errors.DistutilsPlatformError(msg)
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions