python-snappy installation error on Windows OS - python

We are using GCP with Python in our project. For development purpose we are using Windows OS and Pycharm for python code development. We are getting snappy issue error. Post I tried to install pip install python-snappy through cmd in venv path.
Receiving below error.
Failed building wheel for python-snappy.
I tried to download "python_snappy-0.6.0-cp39-cp39-win_amd64.whl" and install. Still receiving error like Platform not supported.

Related

why the python modules installed in my kali linux machine do not run in the repository

I installed 007spam-BOT in my kali-linux machine and when i ran it, it says that no modules found named lib.utils and is not running. here are some screenshots for your reference:
Files:
Error:
From the error that you are showing, I believe that you have not installed the lib module.
You can install it through pip using: pip install libs

How to install Pillow 7.0.0 on Pycharm running Python 3.8?

I'm trying to use Django and displaying images from a Sql db, following this LinkedIn Learning tutorial.
In the process of running manage.py to run my django development server, I face an issue where I have to have pillow installed.
This process has so far proven tedious and here are the things I've tried:
Ran the "simple" python -m pip Pillow, python -m pip Pillow --upgrade in the PyCharm terminal, then get:
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
(Pycharm Ultimate, which I have): Running the WSL environment as provided in the release notes. This should to work as I have the required pre-reqs installed in WSL. However, my computer runs the dreaded "skeletons" process for quite a long time, and I don't see it ending anytime soon.
Attempting to install from the PyCharm GUI also fails in the same way as 1.
Attempting to install the following binaries from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pillow which is referenced in some other answers for this topic gives me this error when installing via pip install <wheel name here>:
Pillow-7.0.0-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
**pip3 doesn't work either. Mentioning although in my PyCharm virtualenv they both point to the same python interpreter. At first glance...
My main ask is - has anyone been able to install pillow 7.0.0 on Windows 10, for a PyCharm virtualenv? And, if so, how have you done it? So I can get back to learning! Thank you in advance!
EDIT: Updated steps taken in (1). Sorry about that

How to fix the distribution error for win32 package

I was trying to install win32 module for python 3.7 for printing files by printers in my code
I used pip and also visited the page of the package on web. by using pip pywin32 it gives error no 11004. I used ways below in cmd.
pip install pywin32
python -m pip install pywin32
I expected that it will be installed properly but unlike the other packages that I installed and went alright, this one gives error that "error 11004, getaddrinfo failed"
thanks for your help.

Flask-LDAP installation on windows box

I'm trying to set up single sign on using Python Flask on a windows box.
It looks like Flask-LDAP or Flask-Kerberos is what I should be using but I can't seem to install it using pip on a Windows box.
The installation fails with an error:
fatal error C1083: Cannot open include file: 'lber.h': No such file or directory
Does anyone have any experience doing this?
It's failing to install a prereq. I used Christoph Gohlke's python-ldap wheel to install python-ldap. Once python-ldap was installed, pip install Flask-LDAP ran successfully.
I don't use Flask-Kerberos, so I'm not sure which component fails to install there, but it likely has a similar resolution. Figure out which prereq is failing, find the unofficial Windows wheel for it, then try again with the prereq already installed.

Error downloading pybluez on windows 10 with python 3.7 (64-bit)

I was attempting to download the python module one windows 10 pybluez (using the cmd pip install pybluez, when I had this error:
Collecting pybluez
Using cached https://files.pythonhosted.org/packages/c1/98/3149481d508bee174335be6725880f00d297afebe75c15e917af8f6fe169/PyBluez-0.22.zip
Complete output from command python setup.py egg_info:
Could not find the Windows Platform SDK
Command "python setup.py egg_info" failed with error code 1 in C:\Users\hartenc\AppData\Local\Temp\pip-install-r9kn6698\pybluez\
After extensive research, I was still unable to figure out why it wasn't working, so any help would be very beneficial. BTW I am using python 3.7. Thanks!
First of all make sure that the location you are looking for is not hidden. In my case I had pip installed but the python directory wasn't showing up. Then make sure you have windows 10 SDK installed. You should have 19.0.3 v of pip in the python directory.
If not then check: https://datatofish.com/upgrade-pip/
Once you have correct version of pip, launch powershell/command prompt and type in:
pip install PyBluez-win10.

Categories

Resources