experiencing error while installing flair - visual-c++

Im experiencing this error while running the command pip install flair
building 'gensim.models.word2vec_inner' 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/
----------------------------------------
ERROR: Failed building wheel for gensim
I am running this command inside a conda environment. I was able to successfully install flair before. then i uninstalled miniconda, installed it on a separate drive (on the same pc) and tried installing flair again, thus here we are.
any help on how to resolve this will be greatly appreciated.

Related

error when trying to install supplychainpy python package

I have been trying to install the supplychainpy python package and have been getting the following error in the cmd terminal:
Error:
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe' failed with exit code 2
The python version I am using is 3.8.8 and I have tried the following resolutions:
creating a virtual environment in anaconda
uninstalling and reinstalling python and MSVC Build Tools
using different python versions
repairing/updating pip and setup tools
My coworkers have gotten the package installed with no issues but I have had no luck. Let me know if anyone else has had this issue/how to solve it.

Unable to install Misaka

I tried installing wheels and again ran pip install misaka but I'm ending up with the same error.
Misaka installation error!
The error message clearly says it.
Microsoft Visual C++ 14.0 or greater is required.
Install it and try again.

Installing PyAudio gets error: portaudio.h file not found

I am trying to use the SpeechRecognition library, but I get the error PyAudio not installed. I did pip3 install PyAudio, but I get the error portaudio.h file not found. I have tried everything. Downloading the .whl file, installing Visual C++ Build Tools and tried installing through pipwin. Can anyone help me?

Problem installing spaCy in windows 10 with pip

I tried to install spaCy on windows 10. I have python 3.7.0, also I install Microsoft Visual C++ Build Tools 14.0.
When I ran the following command:
pip install -U spacy
I got the following error:
Generating code Finished generating code LINK : fatal error LNK1158:
cannot run 'rc.exe' error: command 'C:\Program Files
(x86)\Microsoft Visual Studio 14.0\VC\BIN\link.exe' failed with
exit status 1158
Any idea is there something I missing?
Thank you all in advance!
Either follow theses steps Python, installing clarifai --> VS14.0 link.exe failed with exit status 1158
or install miniconda and then run conda install -c conda-forge spacy

How to resolve the spacy package installation error

I am using python3.5.2 on windows server. I have tried to install spacy package in my virtual environment on windows. While tring to install spacy with the command using pip, am getting the error Microsoft Visual C++ 14.0 is required. I have installed that too. But getting the same issue. Please help me solve this issue and install the spacy package
Most probably its asking for Visual Studio C++ Build tools now, at least that was my case. So I installed it and ran vcvarsall.bat from
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat
After which I could install SpaCy.

Resources