Unable to install Misaka - python-3.x

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.

Related

Can't install python-docx using pip

I am very new to python and programming in generall. I am following a tutorial and tried to install python-docx using pip in the cmd, but it doesn't work.
Those are the errors i see:
DEPRECATION: lxml is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for lxml ... error
error: subprocess-exited-with-error
and
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> lxml
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Can somebody help me with that problems in a way that even a newcomer like me understands it ?
I tried it with >pip install python-docx and >pip install python-docx==0.8.11 in the cmd.
I have had the same error. Check if you have
Microsoft Visual C++ 14.0 or greater. You can download it here. https://visualstudio.microsoft.com/visual-cpp-build-tools/
That has solved the problem for me
I found a solution. It worked after installing a manual build windows x64 wheel for python 3.11. See github_lxml/lxml#356

My brownie won't install. it's telling me "Microsoft Visual C++ v14.0 or more required" i have installed a new vs studio redist 2017 c++ package

C:\Users\ACER\Desktop\Blockchain\Burrockuchen projects\BrownieSimpleStorage> pipx install eth-brownie
Fatal error from pip prevented installation. Full pip output in file:
C:\Users\ACER.local\pipx\logs\cmd_2022-08-06_15.50.29_pip_errors.log
pip failed to build packages:
bitarray
cytoolz
lru-dict
Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
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: legacy-install-failure
Error installing eth-brownie.
C:\Users\ACER\Desktop\Blockchain\Burrockuchen projects\BrownieSimpleStorage>
"Download and install the Build Tools for Visual Studio, and then install the C++ build tools. Once installed, run the following command in your terminal. Here is a video tutorial showing you how to install the build tools."
Then do:
pip install --upgrade setuptools
pip install eth-brownie
Reference = https://chain.link/bootcamp/brownie-setup-instructions

experiencing error while installing flair

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.

Could not build wheels for numpy which use PEP 517 and cannot be installed directly

I saw several posts regarding this issue, I tried almost all solutions but end up with the same error. I am trying to install numpy with pip 20.2.4. I got this below error message.
Failed to build numpy
ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly
I tried all the below commands but I am running out of ideas:
pip install --upgrade pip setuptools wheel
sudo pip install numpy --no-binary :all:
I always get the same message:
Failed to build numpy
ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly
Do you have other ideas to solve this issue? Thank you!
Here is a similar error of what I think you got.
I've solved it by installing the "Build Tools para Visual Studio 2019" and installing the section of desktop C++ compiler.
Steps
Go to Microsoft Studio Downloads and search down in section "All Downloads" > "Tools for Visual Studio 2019".
Download "Build Tools para Visual Studio 2019".
Install C++ compiler package (Elevated privileges are required).
Retry pip instalation pip install numpy
Enjoy.

ModuleNotFoundError: No module named 'misaka'

In python misaka module not able to install while installing pip install misaka showing download error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Vi
sual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
please suggest the above solution. i checked python version for system 64 same is there.
use following code in your cmd
pip install misaka
to install miska library
some example
from misaka import Markdown, HtmlRenderer
rndr = HtmlRenderer()
md = Markdown(rndr)
print(md('some text'))
Working solution!
Go to https://visualstudio.microsoft.com/downloads/ scroll down one page and download Visual Studio 2017 community.
Go through following link to download the required components for Microsoft Visual C++ 14.0, the link provides what components to be selected while downloading.
https://developercommunity.visualstudio.com/content/problem/409173/error-microsoft-visual-c-140-is-required.html
Once the download finishes, you will be asked to restart your system.
Having restarted your system, type
pip install django-misaka
Hope it works as it worked for me!
you should have install the module using pip
pip install django-misaka

Resources