简体   繁体   English

安装 googletrans 时遇到错误

[英]Stuck with error while installing googletrans

When i was trying to install googletrans using pip install googletrans i get the error in cmd.当我尝试使用pip install googletrans时,我收到 cmd 中的错误。 I am using python 3.6 32bit error:-我正在使用 python 3.6 32 位错误:-

           error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for V
isual Studio": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\abhishek\appdata\local\
programs\python\python36-32\python.exe' -u -c 'import sys, setuptools, tokenize;
 sys.argv[0] = '"'"'C:\\Users\\Abhishek\\AppData\\Local\\Temp\\pip-install-yv7ec
6vh\\immutables\\setup.py'"'"'; __file__='"'"'C:\\Users\\Abhishek\\AppData\\Loca
l\\Temp\\pip-install-yv7ec6vh\\immutables\\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:\U
sers\Abhishek\AppData\Local\Temp\pip-record-i61td5hb\install-record.txt' --singl
e-version-externally-managed --compile --install-headers 'c:\users\abhishek\appd
ata\local\programs\python\python36-32\Include\immutables' Check the logs for ful
l command output.

is there any way to solve this error.有什么办法可以解决这个错误。

please help !!!!!请帮忙 !!!!!

The Error Clearly States That Microsoft Visual C++ 14.0 is required.该错误清楚地表明需要 Microsoft Visual C++ 14.0。 Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/ then select "Tools For Visual Studio 2019" and select "Build Tools for visual studio 2019" select your OS type and download the build tools. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/ then select "Tools For Visual Studio 2019" and select "Build Tools for visual studio 2019" select your OS type and download the build工具。

after in your "downloads" folder you will a have program called "vs_BuildTools" start that up run through the setup then,在您的“下载”文件夹中,您将有一个名为“vs_BuildTools”的程序启动它,然后通过设置运行,

Install VS 2019 With these requirements checked:-安装 VS 2019 并检查这些要求:-

在此处输入图像描述

Then Install The Software and, After That Reboot or Restart your computer again, then install your required package然后安装软件,然后重新启动或重新启动计算机,然后安装所需的 package

This A Pretty Long Process To Run Through so make sure you have around 2-3 Hours To Setup (Depending On Your Internet and computer condition).这是一个相当长的过程,因此请确保您有大约 2-3 小时的时间来设置(取决于您的互联网和计算机状况)。 it took me around 2 hours approx to setup everything我花了大约 2 个小时来设置所有东西

Dont be frustrated if this doesn't work, because this personally happened to me, then a ran through the process again and it was installed successfully.如果这不起作用,请不要沮丧,因为这发生在我个人身上,然后再次运行该过程并成功安装。

Hope This Will Help... If Not Let Me Know Please.希望这会有所帮助......如果不让我知道,请。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM