Unable to find vcvarsall.bat while installing PyAudio - visual-studio-2017

I want to make a tkinter application in which I should give commands on microphone to navigate the application. While trying to pip install pyaudio it shows an error unable to find vavarsall.bat. I have visual studio 2017 installed. After seeing some video I have added C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build in environmental variable path. But still it shows that problem. I have installed visual studio with c++ to compile pocketsphinx and sphinxbase. I can't understand how to solve this problem.

Related

Installing Magick++ in visual studio 2019

I have tried to install Magick++.h in visual studio 2019.
First I download ImageMagick++ and installed my pc. Then I copied include & library path to project properties. there is no error when I am writing the program. after compiling, there is a build error. Can someone help to solve this problem?

Installing cudamat and error for Microsoft Visual C++ Build Tools

I am trying to install cudamat but I always get the following error:
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft
Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads
This is although I have installed Microsoft Visual Studio along with C++ tools. I am running the following command in the Anaconda command prompt: python setup.py install
I have also installed VS Code in Anaconda. However I still get the same error when trying to install cudamat.
I am running Windows 10
Thanks.

Cannot install CUDA Toolkit 9.1.85 on Windows 7 64 bit

I am trying to install CUDA Toolkit 9.1.85 on my machine. With the first attempt, all seems working until I tried to compile OpenCV 3.4.1 with CUDA support on Visual Studio 2017 15.6.6. I checked on the internet and I found a lot info about the error. On the second attempt, I followed what suggested here and here, but I cannot successfully install CUDA.
Launching CUDA installation with the following command:
setup.exe -log:"D:\logcuda" -loglevel:6
And looking into the log file, I find that
ERROR: [NVI2.NVInstaller] 2064#CNVInstaller::InternalPerformInstall : Package "visual_studio_integration_9.1" failed with error: Exception {0x80004005 - Unspecified error.; File: PerformInstall.cpp; Line: 4029; Phase failure}.
If I try to install CUDA without Visual Studio Integration, I can successfully install CUDA (not tried to compile OpenCV).
Before the second attempt, I removed all NVIDIA components (driver and so on), used DDU, removed Visual Studio with all components (launched also InstallCleanup.exe), run CCleaner.
Now I am with Visual Studio 2017 15.4.5 and only VC++ 2015.3 140 (141 is not installed), NVIDIA 397.31, but still getting the same error. With the first attempt, I install successfully CUDA with Visual Studio 2017 15.6.6 VC++ 2017 v141 with Visual Studio Integration.
Can someone point me in the right way? I cannot figure out fix it. Thanks for your answer.
Following this suggestion , here's how I installed CUDA 9.2 for Visual Studio 2017 15.6.7:
Current Visual Studio 2017 version is 15.7.3, so I had to download an earlier version from here.
Unzip CUDA installer like an archive into a directory, say C:\cuda_9.2.88_win10\
Install CUDA without Visual Studio Integration (you need to choose Custom instead of Express installation)
Copy C:\cuda_9.2.88_win10\CUDAVisualStudioIntegration\extras\visual_studio_integration\MSBuildExtensions to
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\BuildCustomizations .
Copy C:\cuda_9.2.88_win10\CUDAVisualStudioIntegration\extras\visual_studio_integration\CudaProjectVsWizards
to
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\CUDA
Run as administrator: devenv /setup from directory C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE
Install all the .msi from C:\cuda_9.2.88_win10\CUDAVisualStudioIntegration

Missing opencv_world300.lib while using visual studio 2015/2013

I'm trying to install OpenCV 3.0.0 to my project within MS Visual Studio 2013/2015 (two PCs). I'm doing same things as in tutorial described here http://tinyurl.com/cbdvucw, but on both PCs I get an error, saying that 'opencv_world300.lib is missing, try to reinstall programm'. I sure that it's not missing, I've set system variables: OPENCV_DIR: 'D:\opencv\build\x86\vc12' and added to PATH: '%OPENCV_DIR%\lib'. Restarted my computer, but Visual Studio says error above. All project properties are the same as in the tutorial. What should I do to solve this problem? Thanks.
You need to build the library again
Go back to cmake step and activate Build_opencv_world

NPM Install on Windows 7 issue, no Microsoft.CPP folder

I'm having troubles with npm install on Windows 7.
I'm using Visual Studio 2013 Express and I've also installed Microsoft Build Tools 2013.
I have the Path variable set and I've tried with the --msvs_version parameter in the npm install
It gives me the
error MSB4019: "C:\Program Files (x86)\MSBuild\12.0\Microsoft.Cpp.Default.props" not found
That folder doesn't exist on my computer, I only have
MSBuild\12.0
and
MSBuild\Microsoft
What do I miss to install?? I would be able to compile Node project without having to install the full version of VS, if possible, and honestly, I would be able to do it by installing the minimum required software.
Thank you!