andrewssobral / andrewssobral/bgslibrary

Unable to find vcvarsall.bat

Aperta
#117 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
user error
Lingua principale
C++
Stelle
2.3k
Fork
735
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

- [ ]

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.