I have issues installing wxpython - python

Can anyone help me out with installing wxpython
Please check attached wxpython installation error

the log is telling what you have to do. Have you try install Microsoft Visual C++ 9.0? No?
Your python version is 2.7?
If yes, so download and install Microsoft Visual C++ Compiler for Python 2.7 from the following link:
https://web.archive.org/web/20190720195601/http://www.microsoft.com/en-us/download/confirmation.aspx?id=44266

Related

Error in installing face recognition module in python

I want to use the face recognition module of python in a project but when I am trying to install it using the command "pip install face_recognition" or "pip install face-recognition", it is showing an error and is not installing. This is the screenshot of the error:
How to fix this error and install the module?
Thanks in advance!
You should install a C++ compiler. I would suggest Visual Studio C++.
This is because the face_recognition package does not have prebuilt wheels for your platform and therefore you need to build them yourself when you install.
Anyhow just installing C++ build tolls will be sufficient.
Verify your installation
cl
And then re-run
pip install face_recognition
Face-recognition python module uses C++, so your computer needs somehow to compile the library it is using. Install any of the C++ compilers (for example minGW) & be sure is that compiler executable is added to your global PATH. After that try to install face-recognition library.
If the step above does not work - try using python 32-bit build (once I have encountered this error because my python build was 64-bit). It may help in some of the cases.
Use python version == 3.7 (any other versions does not compatible with face-recognition module)
Install dlib dependency and try to use conda for installing & manipulating environments.
P.S. you need to install C++ compiler, not Visual Studio itself. Visual studio is an IDE, while compiler is not.

Errors and problems while installing AutoPy

I want to install AutoPy for a particular python program.
but when i run pip install -U autopy then this error comes up :
https://drive.google.com/file/d/11vFBWXxNCnBptY3Qm_maP41yQ-lYFgAc/view?usp=sharing
I have Rust Nightly and the C++ compiler from Visual Studio.
Please help.
I use a Windows machine, Python 3.9, and I use Visual Studio Code as the Code Editor.
Thanks in Advance!
I figured it out, I needed AutoPy for Python 3.9, but AutoPy supports only till Python 3.8. Hence the error was occurring. Just install Python 3.8 and it sould work.
Python download - https://www.python.org/downloads/

Microsoft Visual C++ 14.0 is required trying to install packages written in c

Hi I am trying to install the package 'pyfolio' but I get the error indicating:
Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools"
but I have already installed visual c++ redist packages but it still does not work.
I found out that the error occurs while installing package bottleneckso I thought to read the documentation on installing bottleneck, it was written in c and so I installed MinGW but could not be able to set ming as the compiler
I also installed cython. I am on a windows machine.
is there any other alternative to applying here?
Many people suggest going to the Microsoft link and downloading the entire package to build and compile things. But I like using choco for things because it's more straightforward. Basically this is an option if you are Linux user and stuck on windows.
I recommend making a virtual environment incase of mistakes and other fun issues.
python -m venv .venv
source .venv/Script/Activate # works with git bash
pip install --upgrade setuptools
choco install visualcppbuildtools
You don't have any Visual C++, you only have Redistributable packages. They install run-time libraries that are used to run applications written with VC. But you need Visual C++ compiler! Install Build Tools.
See https://stackoverflow.com/search?q=%5Bpip%5D+Microsoft+Visual+C%2B%2B+14.0+is+required

Installing Python 3.6.3 - "api-ms-win-crt-runtime-l1-1-0.dll" is missing from my Win8Pro64bit computer

OS: Windows 8 64bit with the latest update.
Objective: Run Python.exe with Powershell as an administrator.
I've changed the path to include the script but when I try to open Python I get an error code. I receive the same error during the installation.
api-ms-win-crt-runtime-l1-1-0.dll is missing from my computer.
How would I go about resolving this issue.
This error is usually caused by the missing Visual C++ Redistributable, which is a required dependency to install Python on Windows Computer.
To install Python successfully, download Visual C++ Redistributable from here and install it and Reboot the system.
After installing this, you would be able to install Python.
Link: Visual C++ Redistributable

Cython in visual studio 2013

My python background is unix (mac os and ubuntu). I recently heard about a Python plugin for VS and though this could be awesome because i like Windows ;-). The plugin is only awailable in the 2013 version so i installed it and then i tried to install cython over the integrated GUI command line interface where you can install packages over pip or easy_install, which is pretty neat.
It failed, error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat). after some research it seems like i would have to install visual c++ from the 2008 version?
Im a bit confused i have visual studio installed and with it the visual studio c++. Im really not used to windows, so could anyone who understands this give me some directions please?
Set the VS90COMNTOOLS environment variable.
SET VS90COMNTOOLS=%VS120COMNTOOLS%
Ok this is a bit of an error on my part. Cython doesn't support Windows.
Cython.org links to this in its download section.
Christoph Gohlke has created Windows installers available for download on his site.
After you downloaded the wheel file you just install it with pip into the environment(virtual or global) you want and you are good to go.
pip install <path-to-download.whl>
or enter the path to the .whl file into the VS pip GUI.

Categories