hydralauncher / hydra

Hydra is a game launcher with its own embedded bittorrent client
MIT License
10.72k stars 2.53k forks source link

Problems when downloading python dependencies #86

Closed albano-a closed 5 months ago

albano-a commented 5 months ago

I'm following the commands in the README.md, and when I run the command pip install -r requirements.txt I stumble upon the error

ERROR: Could not find a version that satisfies the requirement libtorrent (from versions: none)
ERROR: No matching distribution found for libtorrent

I tried pip install libtorrent and got the same error... It is a problem with my Python version (3.12.2)? Or it's something else?

WindowsTerminal_24 04 26_08 24_426p_w9UFGO

ghost commented 5 months ago

you need python 3.9 https://github.com/adang1345/PythonWindows/blob/master/3.9.14/python-3.9.14-amd64-full.exe

Magrid0 commented 5 months ago

I got the same problem on EndeavorOS

hydralauncher commented 5 months ago

The README.md states that you need Python 3.9.

Magrid0 commented 5 months ago

@hydralauncher i've just retried on a fresh installed arch vm, after downloading python 3.9 from the AUR i still get the error

magrid@archlinux ~/D/p/hydra (main) [1]> sudo pip install libtorrent --break-system-packages

ERROR: Could not find a version that satisfies the requirement libtorrent (from versions: none) ERROR: No matching distribution found for libtorrent

guizaodev commented 5 months ago

Make sure you are using python 3.9 with

python --version

If not, you can download Python 3.9.13 directly from Python website.

If you have more than one python version on your machine, you can create a virtual environment with the version of your choice

python -X.Y -m venv my-env
Magrid0 commented 5 months ago

If you have more than one python version on your machine, you can create a virtual environment with the version of your choice


python -X.Y -m venv my-env

I'll try that

hydralauncher commented 5 months ago

Closing this since the OP hasn't give any feedback.