ofeksadlo / lichess-cheat

Simple chess cheat for lichess based on opencv.
19 stars 14 forks source link

https://ibb.co/RC2M2Hh #6

Open LayYouTube opened 3 years ago

LayYouTube commented 3 years ago

title

LayYouTube commented 3 years ago

and also i have it:

C:\Windows\system32>pip install requirements.txt ERROR: Could not find a version that satisfies the requirement requirements.txt ERROR: No matching distribution found for requirements.txt

LayYouTube commented 3 years ago

Zrzut ekranu (163)

ofeksadlo commented 3 years ago

and also i have it:

C:\Windows\system32>pip install requirements.txt ERROR: Could not find a version that satisfies the requirement requirements.txt ERROR: No matching distribution found for requirements.txt

You need to add -r before requirements.txt https://pip.pypa.io/en/stable/reference/pip_install/#install-requirement

Otherwise you just trying to install a module named 'requirements.txt' Which obviously doesn't exists.

LayYouTube commented 3 years ago

C:\Users\lubia\Downloads\lichess-cheat-master>pip install -r requirements.txt Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: opencv-python in c:\users\lubia\appdata\roaming\python\python37\site-packages (from -r requirements.txt (line 1)) (4.4.0) Requirement already satisfied: numpy in c:\users\lubia\appdata\roaming\python\python37\site-packages (from -r requirements.txt (line 5)) (1.19.4) ERROR: Could not find a version that satisfies the requirement ctypes ERROR: No matching distribution found for ctypes

ofeksadlo commented 3 years ago

C:\Users\lubia\Downloads\lichess-cheat-master>pip install -r requirements.txt Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: opencv-python in c:\users\lubia\appdata\roaming\python\python37\site-packages (from -r requirements.txt (line 1)) (4.4.0) Requirement already satisfied: numpy in c:\users\lubia\appdata\roaming\python\python37\site-packages (from -r requirements.txt (line 5)) (1.19.4) ERROR: Could not find a version that satisfies the requirement ctypes ERROR: No matching distribution found for ctypes

Try running the cmd as adminstrator and then install. Don't use pycharm.

LayYouTube commented 3 years ago

I started as administrator and it is: C:\Users\lubia\Downloads\lichess-cheat-master>pip install -r requirements.txt Requirement already satisfied: opencv-python in c:\users\lubia\appdata\roaming\python\python37\site-packages (from -r requirements.txt (line 1)) (4.4.0) Requirement already satisfied: numpy in c:\users\lubia\appdata\roaming\python\python37\site-packages (from -r requirements.txt (line 5)) (1.19.4) ERROR: Could not find a version that satisfies the requirement ctypes ERROR: No matching distribution found for ctypes

And how do I turn it on without using pycharma (I have to do "python main.py")?

ofeksadlo commented 3 years ago

I started as administrator and it is: C:\Users\lubia\Downloads\lichess-cheat-master>pip install -r requirements.txt Requirement already satisfied: opencv-python in c:\users\lubia\appdata\roaming\python\python37\site-packages (from -r requirements.txt (line 1)) (4.4.0) Requirement already satisfied: numpy in c:\users\lubia\appdata\roaming\python\python37\site-packages (from -r requirements.txt (line 5)) (1.19.4) ERROR: Could not find a version that satisfies the requirement ctypes ERROR: No matching distribution found for ctypes

And how do I turn it on without using pycharma (I have to do "python main.py")?

For your first question ctypes is a module that usually included with python installation. So just try to launch the program.

For your second question: Yes just python main.py I'm unfamiliar with PyCharm and although it should work better just launch it outside the IDE.

Keep in mind this cheat is for educational purposes only. And it's not done so using ain't easy. My point is if you are here only for the cheating purpose. This is not a really good option.