久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

在沒有 Visual Studio 的情況下為 python 安裝 MS C++

Installing MS C++ 14.0 for python without Visual Studio(在沒有 Visual Studio 的情況下為 python 安裝 MS C++ 14.0)
本文介紹了在沒有 Visual Studio 的情況下為 python 安裝 MS C++ 14.0的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

我正在安裝現(xiàn)有項(xiàng)目的一些 python 包,但出現(xiàn)此錯(cuò)誤:

錯(cuò)誤:需要 Microsoft Visual C++ 14.0.用微軟Visual C++ 構(gòu)建工具":https://visualstudio.microsoft.com/downloads/

我找到了一個(gè)解決方案,方法是在此處使用 Visual Studio 的產(chǎn)品之一安裝它

如果上述方法仍然不能解決您的問題,您可以嘗試切換到獨(dú)立組件,向下滾動(dòng)獨(dú)立組件列表,有一個(gè)標(biāo)題為 Compilers, build工具和運(yùn)行時(shí).在該部分下有一個(gè) VC++ 2015.3 v140 桌面工具集 (x86,x64) 選項(xiàng)并選擇它:

我已經(jīng)安裝了這兩個(gè),所以我無法確定安裝哪一個(gè)來解決這個(gè)問題.

此外,有人提供了另一種解決方法來解決此問題,您可以檢查它是否適合您:

<塊引用>

一種方法是安裝預(yù)編譯的二進(jìn)制文件.網(wǎng)頁http://www.lfd.uci.edu/~gohlke/pythonlibs(鏡像) 包含許多 Python 包的預(yù)編譯二進(jìn)制文件.下載后您感興趣的軟件包,您可以使用 pip install 安裝它,例如pip install mysqlclient?1.3.10?cp35?cp35m?win_amd64.whl.

您可以查看本文檔和此線程了解更多詳情.

希望這會(huì)有所幫助.

I am installing some python packages of an existed project and I am getting this error:

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft
Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

I found a solution to that by installing it using one of the visual studio's products here StackOverflow answer, however, want to know if there is another way without needing to install more than 1.7 gb. PS: I installed the standalone MSbuild tools and didn't work for me.

解決方案

Installing MS C++ 14.0 for python without Visual Studio

To install Microsoft Visual C++ 14.0, you can download the Microsoft Build Tools for Visual Studio 2017, install and open it, select: WorkloadsVisual C++ build tools(Even you can only select only the "Windows 10 SDK"):

If above still not resolve your issue, you can try to switch to Individual components, scrolling down the list of Individual components, there was a section titled Compilers, build tools, and runtimes. Under that section there was a VC++ 2015.3 v140 toolset for desktop (x86,x64) option and select it:

I have installed both of them, so I can not make sure which one is installed to solve this issue.

Besides, someone give a another workaround to resolve this issue, you can check if it works for you:

One way around is to install precompiled binaries. The webpage http://www.lfd.uci.edu/~gohlke/pythonlibs (mirror) contains precompiled binaries for many Python packages. After downloading the package of interest to you, you can install it using pip install, e.g. pip install mysqlclient?1.3.10?cp35?cp35m?win_amd64.whl.

You can check this document and this thread for some more details.

Hope this helps.

這篇關(guān)于在沒有 Visual Studio 的情況下為 python 安裝 MS C++ 14.0的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

How should I verify a log message when testing Python code under nose?(在鼻子下測試 Python 代碼時(shí),我應(yīng)該如何驗(yàn)證日志消息?)
Patch __call__ of a function(修補(bǔ)函數(shù)的 __call__)
How to call self in a mock method of an object in Python?(如何在 Python 中對(duì)象的模擬方法中調(diào)用 self?)
Mocking only a single method on an object(僅模擬對(duì)象上的單個(gè)方法)
Mocking a subprocess call in Python(在 Python 中模擬子進(jìn)程調(diào)用)
Checking call order across multiple mocks(檢查多個(gè)模擬的調(diào)用順序)
主站蜘蛛池模板: 欧美色综合天天久久综合精品 | 九色网址 | 欧美大片黄 | 日本欧美久久久久免费播放网 | 少妇一级淫片免费观看 | 天天操夜夜爽 | 欧美在线一区二区三区 | 精品久久网站 | 狠狠狠狠干 | 欧美福利影院 | 久久h| 日韩精品久久久久久 | 激情五月婷婷丁香 | 成年人的免费视频 | 国语对白做受69 | 亚洲欧美网站 | 日韩伦理一区 | 亚洲精品一二三四 | 日本成人精品 | 亚洲7777| 亚洲一区二区三区在线播放 | 中文字幕免费在线看线人动作大片 | 四虎影音 | 一级特黄妇女高潮 | 日本国产精品 | 97在线观看视频 | 欧美视频在线观看免费 | 三上悠亚久久 | 男人操女人视频网站 | 黄色一级片免费看 | 午夜激情福利视频 | www国产亚洲精品久久网站 | 波多野结衣一区二区三区在线观看 | 成人欧美一区二区三区黑人孕妇 | 国产精品一二三四 | 亚洲精品18在线观看 | 免费一级片 | 国产一级自拍 | 久久毛片视频 | 成人免费毛片片v | 久久久久一区 |