Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[错误报告]: macOS M1 平台无法安装依赖libtorrent==2.0.9 #376

Open
3 tasks done
cshijiel opened this issue Oct 12, 2023 · 6 comments
Open
3 tasks done

[错误报告]: macOS M1 平台无法安装依赖libtorrent==2.0.9 #376

cshijiel opened this issue Oct 12, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@cshijiel
Copy link

确认

  • 我的版本是最新版本,我的版本号与 version 相同。
  • 我已经 issue 中搜索过,确认我的问题没有被提出过。
  • 我已经修改标题,将标题中的 描述 替换为我遇到的问题。

当前程序版本

5c30f73

问题类型

主程序运行问题

问题描述

macOS M1 平台无法安装依赖libtorrent==2.0.9

看是否方便修复?

发生问题时系统日志和配置文件

requirements.txt
libtorrent==2.0.9

python3 -m pip install --force-reinstall -r requirements.txt 

报错:
ERROR: Could not find a version that satisfies the requirement libtorrent==2.0.9 (from versions: none)
ERROR: No matching distribution found for libtorrent==2.0.9
@cshijiel cshijiel added the bug Something isn't working label Oct 12, 2023
@cshijiel
Copy link
Author

查询发现libtorrent未提供macOS m1版本?

@hsuyelin
Copy link
Owner

python3.10 -m pip install --force-reinstall -r requirements.txt

@Pramy
Copy link

Pramy commented Apr 11, 2024

确认

  • 我的版本是最新版本,我的版本号与 version 相同。
  • 我已经 issue 中搜索过,确认我的问题没有被提出过。
  • 我已经修改标题,将标题中的 描述 替换为我遇到的问题。

当前程序版本

5c30f73

问题类型

主程序运行问题

问题描述

macOS M1 平台无法安装依赖libtorrent==2.0.9

看是否方便修复?

发生问题时系统日志和配置文件

requirements.txt
libtorrent==2.0.9

python3 -m pip install --force-reinstall -r requirements.txt 

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

可以使用 brew install libtorrent-rasterbar 安装

@northsea4
Copy link

@Pramy

可以使用 brew install libtorrent-rasterbar 安装

请问然后应该怎么做呢?

@DapperZhengLong
Copy link

python3.10 -m pip install --force-reinstall -r requirements.txt

(nastools) c:\sf\nastools>python run.py
Traceback (most recent call last):
File "c:\sf\nastools\run.py", line 29, in
from web.action import WebAction
File "c:\sf\nastools\web\action.py", line 23, in
from app.brushtask import BrushTask
File "c:\sf\nastools\app\brushtask.py", line 11, in
from app.downloader import Downloader
File "c:\sf\nastools\app\downloader_init_.py", line 1, in
from .downloader import Downloader
File "c:\sf\nastools\app\downloader\downloader.py", line 9, in
from app.conf import ModuleConf
File "c:\sf\nastools\app\conf_init_.py", line 1, in
from .systemconfig import SystemConfig
File "c:\sf\nastools\app\conf\systemconfig.py", line 3, in
from app.helper import DictHelper
File "c:\sf\nastools\app\helper_init_.py", line 1, in
from .chrome_helper import ChromeHelper, init_chrome
File "c:\sf\nastools\app\helper\chrome_helper.py", line 13, in
from app.utils import SystemUtils, RequestUtils, ExceptionUtils
File "c:\sf\nastools\app\utils_init_.py", line 10, in
from .torrent import Torrent
File "c:\sf\nastools\app\utils\torrent.py", line 9, in
import libtorrent
ImportError: DLL load failed while importing libtorrent: 找不到指定的模块。

@northsea4
Copy link

看这个 arvidn/libtorrent#7727 PR说是支持macOS arm64了,但pypi里还是没看到,请问有知道怎么安装的吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants