this post was submitted on 08 Jan 2025
10 points (91.7% liked)

Python

6634 readers
50 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 2 years ago
MODERATORS
 

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 controversial new old
[–] [email protected] 1 points 3 days ago (1 children)

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.

[–] [email protected] 1 points 3 days ago

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

[–] [email protected] 3 points 1 month ago (1 children)

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

[–] [email protected] 2 points 1 month ago (1 children)

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.

[–] [email protected] 3 points 1 month 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

[–] [email protected] 1 points 1 month ago

libtorrent C++ with Python bindings

On Linux, would install it from the package manager.