9
Libtorrent (lemmy.world)
submitted 2 years ago by CAVOK@lemmy.world to c/python@programming.dev

Hi. I'm trying to install libtorrent but I'm getting an error that I don't know how to resolve. Am I being dumb or is something up?

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

top 6 comments
sorted by: hot top new old
[-] onlinepersona@programming.dev 3 points 2 years ago

Could you provide more information? What are the commands you are entering? Which system are you on? Is there a page with instructions you followed?

Anti Commercial-AI license

[-] CAVOK@lemmy.world 2 points 2 years ago

I'm on windows using pycharm and doing it from their module manager, or using pip from the console. The virtual environment is python 3.12.

[-] onlinepersona@programming.dev 3 points 2 years ago

Oh boy... windows. I can't help you there, but hopefully somebody else can.

No matching distribution found for libtorrent

This tells me that windows is not supported (or distributed by that python package).

I'm afraid you might have to follow the guide and build it yourself. Or opt to use WSL. That might get rid of your headaches, but I'm a linux user, so no experience with WSL on my side.

Anti Commercial-AI license

[-] logging_strict@programming.dev 1 points 2 years ago

libtorrent C++ with Python bindings

On Linux, would install it from the package manager.

[-] 0101100101@programming.dev 1 points 2 years ago

Is libtorrent actually installed as a package? I see you're on windows, but surely there's an so you need to download or such? Haven't used windows for many years though.

[-] CAVOK@lemmy.world 1 points 2 years ago

I solved it by downgrading python to something earlier than 3.12 in a new venv. Thanks for still trying to help.

this post was submitted on 08 Jan 2025
9 points (90.9% liked)

Python

8033 readers
2 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 3 years ago
MODERATORS