Error installing kivy - python

I am using pip install to install kivy on windows 10. I keep getting an error in the command prompt that states:
(could not find a version that satisfies the requirement pywin32 (from
versions: ) no matching distribution found for pywin32 (from
pypiwin32)
Do you have any ideas?

Have you tried installing pypiwin32:
pip install pypiwin32
https://pypi.python.org/pypi/pypiwin32
Then retry installing kivy, if that doesn't work then install pywin32: https://pypi.python.org/pypi/pywin32 and try again.

i got the same issue (error)
it couldn't find any version that satisfies the python interpreter , any version of python that Pywin32 doesn't support
type in the console (cmd) : pip install pypiwin32==219
this version 219 nearly supports all the versions of python (not all of them !)
and if still not worked do this : choose on of these versions of python and install it then it will work !
2.7.X
3.1.X
3.2.X
3.3.X
3.4.X
3.5.X
notice that this version doesn't support 3.6 , anyway good luck with your programming see you again boys !

Related

Why is the curses module not installing via pip?

I have been trying to install the curses module using the command "pip install windows-curses" but it does not seem to be working and it errors out saying:
ERROR: Could not find a version that satisfies the requirement windows-curses (from versions: none)
ERROR: No matching distribution found for windows-curses
[Edit: I am using python 3.10]
I installed the requests package after that using pip but that seems to install perfectly. So, pip is working correctly, just not the curses module. Is it a problem on my end or is this package actually not available?
Currently the latest version of windows-curses is 2.2.0 and it provides wheels for Python 3.6-3.8 and no source code.
Most probably you use Python 3.9 or 3.10 (you should have indicated in the question). To use windows-curses you need to downgrade. You can also download wheels from https://www.lfd.uci.edu/~gohlke/pythonlibs/#curses

How do I install python package tobii_research?

I am trying to install tobii_research for a project and I was following the instructions on http://developer.tobiipro.com/python/python-getting-started.html
I already have python 3.7.6 and pip 21.1.2 installed on my Mac.
When I run pip install tobii-research I get:
ERROR: Could not find a version that satisfies the requirement tobii_research (from versions: none)
ERROR: No matching distribution found for tobii-research
Was there something I forgot to install?
I can not for the life of me figure out how to install this manually either.
Help with pip, or installing manually would be greatly appreciated, but you might have to explain it to me like I am stupid.
Thanks in advance.
It appears that you are not running the correct python version for the versions of the package that are available. If you look at the wheel files available on the tobii-research Downloads page, the software is packaged for either python 2.7 or 3.6.
When trying to install this package myself, I get the same error message as you when trying to install it for python 3.8, but the package installs successfully with my python 2.7 installation.
I would recommend installing a compatible version of python and then running pip through that version using the following command:
[specific_python_installation] -m pip install tobii-research
Try doing it with pip again, but replace the underscore with a hyphen as shown below:
pip install tobii-research
I saw on the PyPi website that they only have it for Python 3.8, so I downloaded that Python version from their official website and installed it (do not add it to path).
Then, I created a virtual environment selecting 3.8 as the Python version (refer to this answer) and activated that virtual environment.
Finally, I run pip install tobii_research and it worked.
One thing that helped me - required Python version. For example, for the version 1.10.2 (which is current at the moment of writing this) only Python 3.10 is supported. Check the list of files distributed within this version.
I was able to install the package on Windows with Python 3.10 but on MacOS I had the same problem and wasn't able to resolve this - I assume it's a problem with the architecture, as there is no version for arm64 if you have a Mac with M1 processor.

How to install pyaudio?

My python version version is 3.9.0
I tried to install pyaudio but I get an error message.
I went to try a few different versions from an unofficial website, but none of them worked.
Every time I get an error msg that says:
ERROR: Could not find a version that satisfies the requirement PyAudio-0.2.11-cp36-cp36m-win_amd64 (from versions: none)
ERROR: No matching distribution found for PyAudio-0.2.11-cp36-cp36m-win_amd64
this is there not any pyaudio version for python 3.9.0
The message is pretty clear. PyPI does not yet have a Python 3.9 version of pyaudio. Christoph Gohlke's site https://www.lfd.uci.edu/~gohlke/pythonlibs does. I downloaded it from there and it works. If it didn't work for you then you should show the pip command you issued and not just the error message you got. I used the command line
pip install D:\Users\BoarGules\Downloads\PyAudio-0.2.11-cp39-cp39-win_amd64.whl
Maybe you were expecting pip to know where the downloaded wheel was, without being told where to look?
And if you want to install pyaudio for Python 3.9 then it won't help to use a wheel named PyAudio-0.2.11-cp36-cp36m-win_amd64.whl: the Python version is embedded in the filename and it says 3.6 not 3.9, so try again with the right file.
try this
pip install pipwin
then
pipwin install pyaudio

Unable to install tensorflow-compression

I get this error every time I try to install tensorflow-compression
ERROR: Could not find a version that satisfies the requirement tensorflow-compression (from versions: none)
ERROR: No matching distribution found for tensorflow-compression
I'm using python 3.6.8 and tensorflow-gpu 1.14.0.
This package does exist and was recently updated:
https://pypi.org/project/tensorflow-compression/
I've tried to install it in a python 2.7 environment, but it didn't work.
Also tried to specify the latest version pip install tensorflow-compression==1.2, but it also didn't work.
At the time of writing this, prebuilt wheels of tensorflow-compression exist only for Linux/MacOS. Quoting the readme:
Installation
Note: Precompiled packages are currently only provided for Linux (Python 2.7, 3.3-3.7) and Darwin/Mac OS (Python 2.7, 3.7).
To use these packages on Windows, consider using a TensorFlow Docker image and installing tensorflow-compression using pip inside the Docker container.
Windows is currently not supported. Please use one of TensorFlow's Docker images (https://www.tensorflow.org/install/docker) and pip install tensorflow_compression there.

Could not find a version that satisfies the requirement tensorflow>=1.7.0 (from versions: ) No matching distribution found for tensorflow>=1.7.0

I am trying to install tensorflow in my mac which is greater than version 1.7.0. While I am running the command:
pip3 install "tensorflow>=1.7.0"
I am getting this error:
Could not find a version that satisfies the requirement
tensorflow>=1.7.0 (from versions: ) No matching distribution found for
tensorflow>=1.7.0
Any help is highly appreciated.
The above is because TensorFlow is only created to run on Python versions 3.6, 2.7 and 3.5. As your Python version is 3.7, pip cannot find any TF version which is compatible.
Try degrading the Python version, or install Python version 3.6 separately and install TensorFlow in it by : pip3 install tensorflow.
Also, to manage different python versions you can use Anaconda environments. They are easy to use and have a separate conda package manager.

Categories

Resources