I cannot install pyHook - python

I was trying to install pyHook with pip but its not working.
I went into CMD type pip install pyHook, but it says could not find version
I was using python 3.8, is there something I was missing?

Try it
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyhook
Then
pip install [whatever].whl

pyHook is not available for python 3. It is only available for python 2.
https://sourceforge.net/projects/pyhook/files/pyhook/1.5.1/
The link attached above shows the list of python versions that are supported. 2.5, 2.6 and 2.7
Since you are using 3.8 which does not have a supported version you would get the following error.
ERROR: Could not find a version that satisfies the requirement pyhook
(from versions: none) ERROR: No matching distribution found for pyhook
The alternatives are to find an alternative package that works for python 3.8 or to switch to python 2.7

Related

Trying to install torch for unity mlagents in the virtual enveiroment

When i enter the command:
pip3 install torch~=1.7.1 -f https://download.pytorch.org/whl/torch_stable.html
just like the manual at
https://github.com/Unity-Technologies/ml-agents/blob/develop/docs/Installation.md
says, i get this error message:
ERROR: Could not find a version that satisfies the requirement torch~=1.7.1 (from versions: none)
ERROR: No matching distribution found for torch~=1.7.1
My pip is on version 23.0, python 3.11.1
I tried a bunch of different ways to do this, even from the torch website, but nothing seems to work, i still get the same error message.
~=1.7.1 means >= 1.7.1, == 1.7.*.
But as far as I can tell, the PyTorch releases in this version range do not support Python 3.11. You are probably following instructions that are quite old.
You would need to instruct pip to install newer releases of PyTorch. Or use an older Python version (probably 3.7 or 3.8 which are quite old and heave nearly reached end of life).

Intsall mt5 package

I want to install the MetaTrader5 module in PyCharm, but I don't know how. I tried using pip install MetaTrader5, but it's says
ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none)
ERROR: No matching distribution found for MetaTrader5
Which SO are you using? Are you using Ubuntu? If yes, then sadly MetaTrader5 currently doesn't support Ubuntu, it is only avaliable on Windows SO.
If you're using windows, then check your python's version. It requires a python 64bit version of 3.7 or higher.
Check more detail info here

ERROR: Could not find a version that satisfies the requirement tensorflow-directml

I tried to install:
pip install tensorflow-directml
from directml on my Windows 10. I have an intel GUP and I was hoping I could use it. But I got the error:
ERROR: Could not find a version that satisfies the requirement tensorflow-directml (from versions: none)
ERROR: No matching distribution found for tensorflow-directml
Did I miss something?
EDIT:
I'm using python 3.8
Seems that the library supports Python 3.5, 3.6 and 3.7. Python3.8 is not supported at the moment (1). Is your pip installation connected to any of those versions? Try using pip --version to confirm to which Python version it is connected. In case that it shows a Python 2 version, try using pip3 install tensorflow-directml.

Could not find a version that satisfies the requirement preprocess-kgptalkie

I'm trying to add preprocess-kgptalkie in Python interpreter and I'm receiving these errors
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at '/home/amel/PycharmProjects/pythonProject1/venv/bin/python'.
ERROR: Could not find a version that satisfies the requirement preprocess-kgptalkie (from versions: none)
ERROR: No matching distribution found for preprocess-kgptalkie
I'm using Python 3.6 and pip 21.2.4
There is no preprocess-kgbtalkie package on PyPI. However, I was able to find a GitHub repo here. Install it with
pip install git+ssh://git#github.com/kgptalkie/preprocess_kgptalkie.git

Unable to install curses (python/windows 10)

I have tried to use
python -m pip install windows-curses
and the error that shows up is:
ERROR: Could not find a version that satisfies the requirement windows-curses (from versions: none)
I have also tried the method provided by this answer and the same error shows up in my terminal window. How can I install Curses for Python/Windows 10 on my machine?
What's your Python version? This library works on 2.7 and 3.5+.
I have installed here without problems.
I have tested in 3.6 and 3.7 and worked fine.
Try downloading wheel from https://pypi.org/project/windows-curses/#files if you has the apropriate version of Python.

Categories