admin管理员组文章数量:1123712
I try to install libtorrent for python by two methods, first:
pip install libtorrent
get this error:
ERROR: Could not find a version that satisfies the requirement libtorrent (from versions: none)
ERROR: No matching distribution found for libtorrent
second: download file from pypi and :
pip install libtorrent-2.0.9-cp310-cp310-win_amd64.whl
get this error:
ERROR: libtorrent-2.0.9-cp310-cp310-win_amd64.whl is not a supported wheel on this platform.
Also, the latest version of pip(24.3.1) setuptools(75.8.0) wheel(0.45.1) is installed.
I read this question and I think the problem is related to CPython version. libtorrent requires CPython 3.10 and my python is Python 3.12.1 (tags/v3.12.1:2305ca5, Dec 7 2023, 22:03:25) [MSC v.1937 64 bit (AMD64)] on win32.
Any kind of help is appreciated.
I try to install libtorrent for python by two methods, first:
pip install libtorrent
get this error:
ERROR: Could not find a version that satisfies the requirement libtorrent (from versions: none)
ERROR: No matching distribution found for libtorrent
second: download file from pypi.org and :
pip install libtorrent-2.0.9-cp310-cp310-win_amd64.whl
get this error:
ERROR: libtorrent-2.0.9-cp310-cp310-win_amd64.whl is not a supported wheel on this platform.
Also, the latest version of pip(24.3.1) setuptools(75.8.0) wheel(0.45.1) is installed.
I read this question and I think the problem is related to CPython version. libtorrent requires CPython 3.10 and my python is Python 3.12.1 (tags/v3.12.1:2305ca5, Dec 7 2023, 22:03:25) [MSC v.1937 64 bit (AMD64)] on win32.
Any kind of help is appreciated.
Share Improve this question edited yesterday hassan asked yesterday hassanhassan 34 bronze badges 4 |1 Answer
Reset to default 0You must include the Python version.
Try this for Python 3.10
py -3.10 -m pip install libtorrent
For Python 3.12
py -3.12 -m pip install libtorrent
本文标签: install libtorrent python libraryStack Overflow
版权声明:本文标题:install libtorrent python library - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736586344a1945017.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
cp310
) CPython is just the name of the most widely used Python implementation, and the default for Windows users. From the PyPI page pypi.org/project/libtorrent/#files, it appears there is no version for Python 3.12 - you should install Python 3.10 (it can be installed side-by-side with 3.12) and create an environment with that, then install the package there. – Grismar Commented yesterday