andrewssobral / andrewssobral/bgslibrary

Unable to find vcvarsall.bat

Abierto
#117 2 comentarios 0 reacciones 0 asignados Ver en GitHub
user error
Lenguaje dominante
C++
Estrellas
2.3k
Forks
735
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hi,
I am using windows 10 and have Anaconda 4.2 and python 2.7.12 with opencv version 2.4.13
I am trying to build bsglibrary, but every time i try doing it it gives the following:
Collecting BGSLibrary
Using cached bgslibrary-2.0.0.tar.gz
Requirement already satisfied: numpy in c:\users\satish chandra\anaconda2\lib\site-packages (from BGSLibrary)
Building wheels for collected packages: BGSLibrary
Running setup.py bdist_wheel for BGSLibrary ... error
Complete output from command "c:\users\satish chandra\anaconda2\python.exe" -u -c "import setuptools, tokenize;file='c:\users\satish1\appdata\local\temp\pip-build-u1qmg2\BGSLibrary\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d c:\users\satish1\appdata\local\temp\tmpz4boeqpip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_ext
building 'libbgs' extension
error: Unable to find vcvarsall.bat

Failed building wheel for BGSLibrary
Running setup.py clean for BGSLibrary
Failed to build BGSLibrary
Installing collected packages: BGSLibrary
Running setup.py install for BGSLibrary ... error
Complete output from command "c:\users\satish chandra\anaconda2\python.exe" -u -c "import setuptools, tokenize;file='c:\users\satish1\appdata\local\temp\pip-build-u1qmg2\BGSLibrary\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record c:\users\satish1\appdata\local\temp\pip-2ro1jm-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
building 'libbgs' extension
error: Unable to find vcvarsall.bat

I also tried installing Visual Studio 2013 but it didnt solve my problem. When i tried building the wheels for bsglibrary it gave the following error:

Collecting BGSLibrary
Using cached bgslibrary-2.0.0.tar.gz
Collecting numpy (from BGSLibrary)
Downloading numpy-1.14.2-cp27-none-win_amd64.whl (13.3MB)
100% |################################| 13.3MB 50kB/s
Saved c:\users\satish chandra\numpy-1.14.2-cp27-none-win_amd64.whl
Skipping numpy, due to already being wheel.
Building wheels for collected packages: BGSLibrary
Running setup.py bdist_wheel for BGSLibrary ... error
Complete output from command "c:\users\satish chandra\anaconda2\python.exe" -u -c "import setuptools, tokenize;file='c:\users\satish1\appdata\local\temp\pip-build-liwtx3\BGSLibrary\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d c:\users\satish1\appdata\local\temp\tmpqwanigpip-wheel-:
running bdist_wheel
running build
running build_ext
building 'libbgs' extension
error: Unable to find vcvarsall.bat

Failed building wheel for BGSLibrary
Running setup.py clean for BGSLibrary
Failed to build BGSLibrary
ERROR: Failed to build one or more wheels.

I dont know what wrong i am doing. I have kind of tried every method that i can find on net.
I even tried using the methods written on the following site:
https://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat

I totally dont know how to fix it anymore. Can you please guide me?
Thank you
@andrewssobral

- [ ]

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.