pip install PyGTK error - python

i type the following into the command prompt as administrator:
pip install PyGTK
and get the following error:
Could not find a version that satisfies the requirement PyGTK <from versions:>
No matching distribution found for PyGTK
any thoughts of why this is happening, thank you in advance.

PyGTK is only available for Python 2.6 on Windows.
For more fresh installation instructions see https://pygobject.readthedocs.io/en/latest/getting_started.html

It's pygtk. Case sensitivity has caused the error probably. This has been deprecated for python3 though and has been replaced by pygi.

Related

ERROR: Could not find a version that satisfies the requirement pyonmttok ERROR: No matching distribution found for pyonmttok

I'm unable to install package pyonmttok on windows. Can someone please help regarding this?
I tried the commands pip install pyonmttok as well as python m -pip install pyonmttok got the same error, also tried this on both python 3.6 and python 3.9
Thanks in advance
The module that you're trying to install has not been released by the developers (OpenNMT) for Windows. It only works for Ubuntu(or Linux in general). You can check the issue on their github here

pip install windows-curser displaying error

I wanted to install curses to do a project on menu making system using Python. When I tried to import curses in jupyter, I received an error telling me there is no package such as curser... So I tried to install the curser using pip install.
This is what I typed:
pip install windows-curser
And I received an error written like this:
ERROR: Could not find a version that satisfies the requirement windows-curser (from versions: none)
ERROR: No matching distribution found for windows-curser
This is the full error message I get:
Are you getting confused between windows-curses and windows-curser? I don't know, but "curses" is a common library, and "curser" I haven't heard of.
Edit: After some searching, yes, windows-curses is a python package, but windows-curser doesn't appear anywhere. I think this was a typo.
You don't need to install curses because it is part of the standard library. But not on Windows. The documentation says
The Windows version of Python doesn’t include the curses module. A ported version called UniCurses is available. You could also try the Console module written by Fredrik Lundh, which doesn’t use the same API as curses but provides cursor-addressable text output and full support for mouse and keyboard input.

PyCairo Pip Install in python 3.8 on windows 10 is failing

I know a lot of threads have been made about this but none of them have solved my problem.
I'm trying to install Cairo through pip install. I am using the command prompt. Here's the error message:
C:\python38\Scripts>pip install cairo
ERROR: Could not find a version that satisfies the requirement cairo (from versions: none)
ERROR: No matching distribution found for cairo
I was reading the dev log on github for pycairo and it looks like it says it should work for python 3.8 and windows 10, I'm not sure what to do here.
I saw one person solved this by running a VM of windows 7, I'm not sure how to do that or if it would work for my situation.
I really appreciate any help you can give me, thank you.
pycairo is only available as a .tar.gz on pypi, so only source code. Note that in order to compile it, you will need a C compiler and the cairo library pre installed in order to use
pip install pycairo
Alternatively however, you can also just download the correct wheel file for python 3.8 from this website which will make the installation much simpler. You will not need to compile code this way, simply do
pip install <whl file>
after downloading the right one (most likely pycairo‑1.19.0‑cp38‑cp38‑win_amd64.whl)
Try pycairo instead
pip install pycairo
Edit in response to comment:
I found a similar question. Does this help?

pyperclip module raising an error message

I'm using Python 3.4.0 on ArchLinux (without X11) as guest in a Vagrant box. When running my script I get this error message:
Pyperclip could not find a copy/paste mechanism for your system
According to this link, I've installed xsel and xclip packages but I cannot install gtk nor PyQt4 modules, because I get this another error message:
Could not find a version that satisfies the requirement PyQt4 (from
versions: )
According to this post, I should install python3-pyqt4 package, but the package more near showed by pacman is python-pyqt5 and it requires to install many packages included packages for X11. Is this necessary? I wish to preserve my distro light as possible.
Any solution? Thanks in advance.
This method fixed it for me.
pip install QtPy
also you could refer to this thread for more help
https://pyperclip.readthedocs.io/en/latest/introduction.html#not-implemented-error

Error installing kivy

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 !

Categories

Resources