Error on installing pywin32 modul for python 2.7 - python

I`m disparately trying to install win32.client which I know is a part of pywin32 module.
I have tried with:
pip install
pip install and downloaded different versions of .whl files
.zip install from cmd (see pics bellow)
My version of python is : Info of my python version
When I tried with pip install:
I get this error
When I tried with pip install and downloaded .whl file:
I get this error
When I tried with .zip file:
enter image description here
Do someone has any ideea why is not working ?
I also uninstalled python and installed again

I suggest you uninstall from pip and install with the .exe installer from the official repository.
This has always worked for me. Remember to select the right version for your version of python.

You may try installing with:
conda install -c anaconda pywin32
But from the warning;
You can upgrade to a newer version of Python to solve this.
I would upgrade to python 3 and try again.

Related

How to install Python from .tar.xz using windows command Prompt

I wanted to install Python 3.5.5, I only found compressed files as shown below.
when I wanted to intall it using
pip install Python-3.5.5.tar.xz
or
pip install Python-3.5.5.tgz
I had these errors
You can find the installers for windows here:
https://www.python.org/downloads/windows/
The file you have is not suitable for installing on Windows.

problem with install pySFML pip install pySFML windows python 3.9, 3.7

I try to install
(env_py) PS D:\github\env_py\Scripts> pip install pySFML
After that I have:
ERROR: Could not find a version that satisfies the requirement pySFML (from versions: none)
ERROR: No matching distribution found for pySFML
I am using python 3.9 and 3.7 on windows
And there is the same problem
THANKS!
The package name seems to be sfml, not pySFML.
Try
pip install sfml
pip install pySFML doesnot work anymore. The best way is to download the wheel from the below link and install it through wheel file
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pysfml
To install the wheel file just go to the directory where you have downloaded the file and then just do
pip install xyz.wheel
Another way, on linux
sudo aptitude install python3-sfml
It is work
I can
import sfml
but on windows I still can not install
https://www.sfml-dev.org/download/bindings.php
Extract the archive, and copy the files to your installation of Python. If you don't know where it's located, by default it should be "C:\Python26" on Windows or "/usr/lib/python2.6" on Linux.
Once the files are properly installed, you're ready to use PySFML.amd following command
python setup.py build

Why Python does not see newly built CV2 package in Windows 10 PC?

I am following step by step instructions from "How to Build and Install OpenCV from Source". I was able to get everything installed and compiled properly in Visual studio.
When I built "INSTALL" project, it was completed as follows with no issues.
I added the path "C:\object_detector\opencv-4.3.0\build\install\x64\vc16\bin" to Environment settings.
CMAKE Python path is the same version I am running when testing the CV2. When I issue "import cv2" at Python prompt, I get error : "No module name cv2"
When I run opencv_version.exe in the new build folder shows exact OpenCV version I built. This suggests the built was successful.
Why Python does not see my build ?
You need to install the dependencies. Using pip:
pip install -r requirements.txt.
If you had it, you need to upgrade
python -m pip install --upgrade pip
If you already installed OpenCV, afterward you have got to install
pip install opencv-contrib-python
You should check those things.
The issues was that during make, it did not update Include folder in system path. Once added, it was fine.

Pycharm install package error

I'm trying to install the wxPython package using Pycharm's Project Interpreter on my mac. I have been able to install other packages in the past, but with this package I get an error:
Any ideas? I've checked, and I have both read and write permissions to both the ./pip and ./pip/http directories, and pip is up to date.
Try using homebrew instead.
Once brew is installed, just type 'brew install wxpython' in your terminal to install wxPython.

Installing requests-kerberos on Windows

Is there any way to install requests-kerberos on Windows?
When I try to install it with pip I have the following error:
py -m pip install requests-kerberos
ImportError: No module named 'commands'
Command "python setup.py egg_info" failed with error code 1 in C:\Users\user1\AppData\Local\Temp\pip-build-n8s_inn\kerberos
I would be grateful if anyone knew another kerberos module. I'm using Python 3.4 and Windows 8.
Best regards.
The commands module was deprecated in python 2.6.
Thus, the issue appears to be a problem with your pip installation, and not with requests-kerberos.
There are a few things you can try, but I would focus on ensuring pip is working correctly. While you could install the package manually, you are really just pushing the pip problem down the road until the next time you install a package.
Ensure pip is installed correctly.
Use the pip command to ensure you are running pip in the python 3.4 context: (Note, this is my output, yours will be different because you are on Windows and running 3.4)
$ pip --version
pip 1.5.6 from /Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg (python 2.7)
Additional information about pip can be found here.
Download and install manually
Download the package manually from the pypi repo.
Download the .tar.gz
Extract the tar.gz and run python setup.py install

Categories

Resources