询问者
How could I install microsoft c++ 14.0 offline?

问题
-
Rescently, I definitely struggle with this bug when I install a python package cx_Oracle, "building cxoracle extension error: Microsoft visual c++ 14.0 is required, get it with build tools for visual studio https://visualstudio.microsoft.com/downloads/". But my computer could not access to the internet, so how could I install microsoft c++ offline correctly?
全部回复
-
check out this
https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2019
- 已建议为答案 Gadai BPKB 2021年6月12日 5:27
-
To install Microsoft Visual C++ 14.0 offline requires a few steps. This was part of the process for getting SQL Server 2017 with Machine Learning / Python running at work.
- Download the Build Tools executable from the network installation page.
- Set up a folder on a drive where you have a good amount of space free. Microsoft notes that a complete install requires at least 35 GB (Gigabytes) of space available, and in my experience I needed close to 20 GB.
- Run the executable from the command line with additional arguments. The ones I used were:
c:\temp\vs_buildtools.exe --layout d:\vs2017offline --add Microsoft.VisualStudio.Workload.VCTools --lang en-US
. To learn more about what these arguments are, check out Customizing the network layout. - Once everything is downloaded, copy the folder over to the device it's to be installed on. I'm not sure if it matters, but I kept the
layout
folder path the same between the two devices. - Normally certificates would be installed as part of a normal installation. However in this case, there are certificates that will need to be installed by hand or script as described by Microsoft. These are located in the
layout
folder, which for me wasd:\vs2017offline\certificates
. I double clicked and each certificate for the entire machine rather than for an individual user. - Once the certificates are installed, the Offline Installation guide mentions running another script to install it on the local machine. I ran into issues getting this working, and so I just ran the executable from the
layout
folder and only installed the Build Tools that I had downloaded before. When checking the options, I turned on the mandatory content, and then the VC 14 build tools. This process took FAR longer than I expected, and had assumed it had either crashed or was trying to go out to the network. But until it actually gave me network errors, it just seems to take a while to complete.
Once the Build Tools were installed, I had to also modify my
pip.ini
to connect to a local python package repository. To change the location, I created a newpip.ini
file with something similar to the link above that looked like:[global] index-url = https://localhost:8443/repository/pypi-all/simple
. Once I created the file, to have it picked up, I followed this Stack Overflow post and created the file inC:\ProgramData\pip\pip.ini
.Finally, after everything was set up, I was able to run pip installer from python folder in SQL Server and install new packages.
source: www.aaronjgrossman.com
- 已编辑 Karoline steward 2021年6月10日 4:40
-
Best solution to your problem and future problems might occur with time, i suggest you not to install programming software in os partition.
- download vmware player 6 or more
- install vmware
- fetch linux iso image ( centos 8 or Linux oracle ) or ( Ubuntu , if you are new to linux go with linuxfx exactly same Gui as win10).
- install your linux in the virtual machine ,
- after installation, in web find the command to install python, and can find multiple app for programming free
- enjoy programming without harming your physical machine.
- 已建议为答案 Loria Prewett 2021年7月18日 15:57
-
-
Best answer for your concern and future issues may happen with time, I recommend you not to introduce programming in os parcel.
download vmware player at least 6
introduce vmware
bring linux iso picture ( centos 8 or Linux prophet ) or ( Ubuntu , in case you are new to linux go with linuxfx precisely same Gui as win10).
introduce your linux in the virtual machine ,
after establishment, in web discover the order to introduce python, and can discover numerous application for programming free
appreciate programming without hurting your actual machine. -
After months of researching and trying all sorts of methods the following has worked:
Step 1: Download the build_tools.exe of your choice
Step 2: Make sure you are on a machine with the exact same environment you are going to install the c++ dependencies on. i.e. If server is windows server 2016 64bit run a vm to emulate that exact environment.
Step 3: Goto this site to get a list of all possible components you can download in the next step - https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community?view=vs-2019
Step 4: Follow the following instructions to get a local cache download of your choice - https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2019
Step 5: copy everything to the server and continue following the instructions from step 4
Step 6: restart the machine to apply paths properly
Step 7: copy rc.exe and rcdll.dll from C:\Program Files (x86)\Windows Kits\8.0\bin\x86 to C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin
Step 8: Download the latest setuptools from pypi.org
Step 9: run the following command with admin rights
python -m pip install path/to/setuptools.tar --upgrade
Step 10: Restart machine again to apply paths.
Once all steps are followed c++ 14.0 (or of your choice) will be installed properly and linked with no issues.
- 已编辑 Qinghui MengMicrosoft contingent staff 2022年8月3日 0:52 update for accessibility
-
Hello, If you want to install MS c++ 14.0 offline then you should follow below steps.
1- Set up a folder on a drive where you have a good amount of space free.
2- Run the executable from the command line with additional arguments.
3- Once everything is downloaded, copy the folder over to the device it's to be installed on.
-
Rescently, I definitely struggle with this bug when I install a python package cx_Oracle, "building cxoracle extension error: Microsoft visual c++ 14.0 is required, get it with build tools for visual studio https://visualstudio.microsoft.com/downloads/". But my computer could not access to the internet, so how could I install microsoft c++ offline correctly?
Hi, To install Microsoft Visual C++ 14.0 offline requires a few steps. This was part of the process for getting SQL Server 2017 with Machine Learning / Python running at work. Download the Build Tools executable from the network installation page. Set up a folder on a drive where you have a good amount of space free. -
Is it a Virtual machine or just a PC without internet? Because if you can't access to the internet you could try to download it and install it from a usb flash drive. I think that you should explain why you can't connect your machine to the internet, it's to be honest, the simpler way to do it, otherwise you are going to spend hours trying to search for a way to do it.
-
I agree with you, I don't even see the point of doing it all without the internet, but if someone has to, then it makes sense
- 已编辑 BorisHarris 2021年10月5日 13:04
-
I suggest you do not install programming software in the os partition. This will help you solve your problem and prevent future problems.
Get the latest version of VMware player.
Download and install the program.
If you're new to linux, use linuxfx (the same GUI as win10) or the centos 8 iso (or Linux Oracle).
Download the linux ISO, install it, then open the linux Oracle.
Install Python, and you can find a number of free programming apps on the web after installation
enjoy programming without harming your physical machine. -
Microsoft C++ 14.0 is the latest version of Microsoft's C++ compiler. It is a powerful tool that can help you write better C++ code. The latest version of Microsoft C++ 14.0 is available for download from the Microsoft website.
If you are new to C++, you might want to start with the free Microsoft Visual C++ Express edition. This edition of the compiler is designed for students and hobbyists. Once you have installed Visual C++ Express, you can use it to compile C++ code written in notepad or any other text editor.
When you are ready to move on to the full version of Microsoft C++, you can purchase it from the Microsoft website. The full version of the compiler includes a lot more features than the Express edition and is a lot more powerful.
Once you have purchased the full version of Microsoft C++, you can download the installation files from the Microsoft website. The installation files are available for both 32-bit and 64-bit versions of Windows.
Once you have downloaded the installation files, you need to run the setup program. The setup program will guide you through the installation process. Once the installation is complete, you will be able to launch Microsoft C++ from the Start menu. -
How do I download and install C++?
1) Download Turbo C++ software. You can download turbo C++ from many sites.
2) Create turboc directory in c drive and extract the tc3. zip.
3) Double click on the install.exe file and follow steps. Now, click on the install icon located inside the c:\turboc.
4) Click on the tc application located inside c:\TC\BIN.Regards,
Will
-
To create an offline installation layout
After you run this command, a dialog box will appear that allows you to change the folder where you want the offline installation layout to reside. Next, click the Download button.
When the package download is successful, you should see a message that says Setup Successful!Regards,
Peter -
To install Microsoft Visual C++ 14.0 offline, you can follow these steps:
Download the Microsoft Visual C++ Build Tools offline installer from the Microsoft Download Center. You can find the download link here: https://visualstudio.microsoft.com/vs/older-downloads/
Choose the version of the Build Tools that includes the Visual C++ 14.0 compiler. This should be listed as "Microsoft Visual C++ Build Tools 2015" or "Microsoft Visual C++ Build Tools 2017".
Download the offline installer for the Build Tools version you selected. This will be a large .exe file.
Copy the offline installer to the computer where you want to install the Build Tools.
Run the offline installer on the target computer. The installer will guide you through the installation process, and should automatically install the Visual C++ 14.0 compiler as part of the Build Tools package.
Once the installation is complete, you should be able to use the Visual C++ 14.0 compiler from the command line or within your development environment.
Note: It's worth noting that the specific steps and options for installing the Build Tools package may vary depending on the version you choose, so be sure to carefully read the documentation and follow the instructions provided by Microsoft.- 已建议为答案 Nilesh Ra 2023年3月11日 19:03
-
To install Microsoft C++ 14.0 offline, you can follow these steps:
Download the Microsoft Visual C++ Build Tools installer from the Microsoft website. You can find the latest version of the installer by searching for "Microsoft Visual C++ Build Tools" on the Microsoft website or on your preferred search engine.
Save the installer file to your computer or a USB drive that you can use to transfer it to the offline computer.
On the offline computer, navigate to the location where you saved the installer file and double-click on it to launch the installation process.
Follow the prompts in the installation wizard to configure the installation settings and select the components you want to install. Make sure to select the "VC++ 2015.3 v14.00 (v140) toolset for desktop" component, which includes the Microsoft C++ 14.0 compiler.
After completing the installation, you should be able to use the Microsoft C++ 14.0 compiler offline.
Note that some components of the Microsoft Visual C++ Build Tools may require an internet connection to install or update, even if you are installing the toolset itself offline. If you encounter any errors or issues during the installation process, you may need to troubleshoot or consult documentation or resources for additional guidance.For More YOu can connect with me on https://www.technilesh.com
-
To install Microsoft C++ 14.0 offline, you will need to follow these steps:
- Download the Microsoft Visual C++ Redistributable for Visual Studio 2015 from the official Microsoft website. You can find the download link here: https://www.microsoft.com/en-us/download/details.aspx?id=48145
- Choose the language of your choice and download the appropriate file for your system. There are separate downloads for 32-bit and 64-bit systems.
- Once the download is complete, copy the file to the offline computer where you want to install Microsoft C++ 14.0.
- Double-click the downloaded file to begin the installation process.
- Follow the on-screen instructions to complete the installation.
- Once the installation is complete, restart the computer to ensure that the changes take effect.
After following these steps, you should have successfully installed Microsoft C++ 14.0 offline on your computer.- 已建议为答案 Kailash Hospital 2023年3月15日 7:41
- Download the Microsoft Visual C++ Redistributable for Visual Studio 2015 from the official Microsoft website. You can find the download link here: https://www.microsoft.com/en-us/download/details.aspx?id=48145
-
To download and install Microsoft C++ 14.0 offline, you can follow these steps:
-
Go to the Microsoft Visual C++ Build Tools download page at this link:
-
Scroll down to the "All Downloads" section and select the "Download offline installer" option.
-
Save the offline installer file to your computer.
-
Once the download is complete, double-click the installer file to begin the installation process.
-
In the installer, select the "Microsoft Visual C++ Build Tools" option.
-
Select any additional components or features you may need, such as the "Windows 10 SDK" or other libraries.
-
Click the "Install" button to begin the installation process.
-
Once the installation is complete, you can use Microsoft C++ 14.0 offline for your development projects.
Note: The offline installer file is typically larger than the online installer and may take longer to download. Also, make sure to have administrative privileges on your computer to install Microsoft C++ 14.0.
source
https://www.finddee.com/microsoft-c-14-0-offline/
- 已编辑 Jake makeson 2023年3月16日 7:55
- 已建议为答案 Roni2172525 2023年3月21日 7:01
- 取消建议作为答案 Roni2172525 2023年3月21日 7:01
-