Error while installing Jupyternotebook through pip - pip

I am getting the following error while installing Jupyternotebook through pip in Windows 10. Kindly provide some workaround. Please find the complete output at https://pastebin.com/vxvAtr6S
C:\Users\prave>echo %PATH% C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\MATLAB\R2020b\bin;C:\Program Files\Inkscape\bin;C:\Program Files\Crucial\Crucial Storage Executive;C:\ffmpeg\bin;C:\Program Files\gs\gs9.53.3\bin;C:\Program Files\gs\gs9.53.3\lib;C:\MinGW\bin;C:\Program Files (x86)\FAHClient;C:\Users\prave\AppData\Local\Microsoft\WindowsApps;C:\Program Files\JetBrains\PyCharm Community Edition 2020.3.1\bin;;C:\MinGW\bin;

distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
This line clearly says it, you have to download Microsof Visual C++ 14.0 or greater from the given address.

Related

anaconda no module found insightface

i get an error saying no mudle found insightface and when i do pip install insightface
last output line is
building 'insightface.thirdparty.face3d.mesh.cython.mesh_core_cython' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
i have installed latest visual c++ with build tools and restarted my pc and nothing seemed to help

unable to build an executable out of CUDA Samples using Visual Studio

I am trying to make executables out of the Cuda Samples . My specs are CUDA 11.5 with Visual Studio 2019. When I check on the samples.sln file to build the executable of all the CUDA samples, I get the following message:
"C:\ProgramData\NVIDIA Corporation\CUDA
Samples\v11.5\7_CUDALibraries\batchedLabelMarkersAndLabelCompressionNPP\batchedLabelMarkersAndLabelCompressionNPP_vs2019.vcxproj
: error : The imported project "C:\Program Files (x86)\Microsoft
Visual
Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA
11.5.props" was not found. Confirm that the expression in the Import declaration "C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA
11.5.props" is correct, and that the file exists on disk. C:\ProgramData\NVIDIA Corporation\CUDA
Samples\v11.5\7_CUDALibraries\batchedLabelMarkersAndLabelCompressionNPP\batchedLabelMarkersAndLabelCompressionNPP_vs2019.vcxproj"
Some background:
I understand that it is important to check compatibility of your CUDA version with Virtual Studio. To that end, when I had initially installed VS 2022 Community edition and then I attempted to install CUDA 11.5, I got the message that CUDA couldn't locate VS on my system. Then I tried installing VS 2019 first and then I tried to re-install CUDA 11.5. This time, I did not get the previous warning message and thought that all was good. But alas that was not the case!:(
Any advice or insight would be greatly appreciated on how to tackle this issue! Thank you in advance
Solved:
The following configuration ran fine:
Microsoft Visual Studio 2013 Community Edition, Nsight
Visual Studio Edition 4.7, and CUDA 7.5.

error: Microsoft Visual C++ 14.0 or greater is required

While installing python package I get the following error even though I have latest Microsoft Visual Studio BuildTools installed.
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
I have added all possible paths to Path variables as well
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VisualStudio\v16.0\Python Tools
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
C:\Program Files (x86)\MSBuild\14.0\Bin
C:\Program Files (x86)\MSBuild
Installing fulll vs_BuildTools solved it for me . For details follow
https://www.scivision.dev/python-windows-visual-c-14-required
Note MSVC vXXX - VS YYYY C++ x64/x86 build tools version and Windows 10 SDK versions must match
Quick solutions like instaling vc_redist.x64 or VC_redist.x86 didn't
solve it for me.
Nothing needs to be added to environment variables.
Answer
If your vscode is supported in 32 bit version, it raises when you start install some packages. I recommended you to install 64 bit vscode if you are using windows 10.

Visual Studio 2017 installer fails to install KB2533623

I'm trying to install Visual Studio 2017 Community via web installer on my Windows 7 laptop and it fails, returning me this log:
dd_setup_..._error.log (translated into English from me, since it was in German)
Package "WindowsUpdates.KB2533623,version=15.0.26711.1,chip=x64" could not be installed.
Search-URL
https://aka.ms/VSSetupErrorReports?q=PackageId=WindowsUpdates.KB2533623;PackageAction=Install;ReturnCode=1168
Details
Command executed: "C:\Windows\system32\dism.exe" /online /quiet /norestart /add-package /packagepath:"C:\Users\User\AppData\Local\Temp\462b07d7-22c4-4fb6-8bd8-78e9e210c711\Windows6.1-KB2533623-x64.cab" /logPath:"C:\Users\User\AppData\Local\Temp\dd_setup_20170916213606_141_WindowsUpdates.KB2533623.log"
Code returned: 1168
Codedetails returned: Element not found.
KB2533623 is not installed at my Laptop, so I tried to install KB2533623 x64 by myself, but it's rejecting with the words "The update is not applicable to your computer".
After some research I found SCCMENTOR who is claiming KB2533623 is superseded by KB2758857, so I tried to uninstall KB2758857, first. There was an error that I could not uninstall all updates. Repeating the step in a local system CMD with wusa /uninstall /kb:2758857 returned 0x80070490. Microsoft suggests to scan the system for corrupt files with sfc /scannow, so I did. It found some errors and fixed them.
I repeated wusa /uninstall /kb:2758857 and it returned 0x80070bc9. Then I restarted and tried it another time and it gives me 0x80070490, again.
I'm not sure I'm on the right path, maybe KB2533623 is not the problem here. How can I fix the problem, so the Visual Studio installer is able to install KB2533623 that is required by so many components of the suite? If KB2533623 is really superseded by KB2758857, why the installer tries to install KB2533623 at all, if KB2758857 is already installed on my laptop?
Microsoft fixed it in Visual Studio 2017 15.5 Preview 3
Visual Studio 2017 15.3 installation fails with „Failed to install WindowsUpdates.KB2533623“ error message.
Visual Studio 2017 install fails due to missing Windows6.1-KB2533623-x64.cab.
So wait for the Final of the Visual Studio 2017 version 15.5 and use the updated installer.
​Hello people!
I had the same problem, and I found that the KB2533623 superseded by KB2758857.
I checkout if this update was installed in my PC. You can check it running this command:
wmic qfe list | find "2758857"
This will show something like this if it was installed:
http://support.microsoft.com/?kbid=2758857 MyMachine Security Update KB2758857 AUTORIDADE NT\SISTEMA 9/2/2016
So, I removed it with this command:
wusa /uninstall /kb:2758857
After this I can install with success the visual studio 2017.
I hope it can help you.

Microsoft visual c++ redistributable intallation error

I am going to install microsoft visual c++ 2015(*64) on my windows 7 ultimate. I need this for install current WAMP. but unable to install this one. occurred following error
setup fail
0*80240017 unspecified error
How can I fix this prob?
Thanks.

Resources