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

无法安装python 依赖 cryptg和numpy #1784

Closed
jsdfhasuh opened this issue Jan 30, 2023 · 8 comments
Closed

无法安装python 依赖 cryptg和numpy #1784

jsdfhasuh opened this issue Jan 30, 2023 · 8 comments

Comments

@jsdfhasuh
Copy link

Qinglong version

2.15.2

Steps to reproduce

在依赖管理里面添加这两个依赖

What is expected?

应该会安装上的

What is actually happening?

开始安装依赖 numpy,开始时间 2023-01-30 15:29:07

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting numpy
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ce/b8/c170db50ec49d5845bd771bc5549fe734ee73083c5c52791915f95d8e2bc/numpy-1.24.1.tar.gz (10.9 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: numpy
Building wheel for numpy (pyproject.toml): started
Building wheel for numpy (pyproject.toml): finished with status 'error'
Failed to build numpy

依赖安装失败,结束时间 2023-01-30 15:29:24,耗时 16 秒

开始安装依赖 cryptg,开始时间 2023-01-30 22:09:06

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting cryptg
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/0d/a1/e4f55e5b22979da39f3afa7c10748e6480ca6f8d94cdf0cb938aa6db1e2d/cryptg-0.4.0.tar.gz (14 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: cryptg
Building wheel for cryptg (pyproject.toml): started
Building wheel for cryptg (pyproject.toml): finished with status 'error'
Failed to build cryptg

依赖安装失败,结束时间 2023-01-30 22:09:11,耗时 4 秒

System Info

No response

Any additional comments?

No response

@Todddday
Copy link

踩了同一个坑,建议换青龙版本,我换了2.13.6是能成功安装了

@ykk648
Copy link

ykk648 commented Feb 2, 2023

check #1645 (comment)

@jsdfhasuh
Copy link
Author

check #1645 (comment)

还是不行

@ykk648
Copy link

ykk648 commented Feb 3, 2023

check #1645 (comment)

还是不行

apk add linux-headers

@jsdfhasuh
Copy link
Author

check #1645 (comment)

还是不行

apk add linux-headers

还是不行
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting cryptg
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/0d/a1/e4f55e5b22979da39f3afa7c10748e6480ca6f8d94cdf0cb938aa6db1e2d/cryptg-0.4.0.tar.gz (14 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheel for cryptg (pyproject.toml): started
Building wheel for cryptg (pyproject.toml): finished with status 'error'
Failed to build cryptg

[notice] A new release of pip available: 22.3.1 -> 23.0
[notice] To update, run: pip install --upgrade pip

依赖安装失败,结束时间 2023-02-03 22:09:22,耗时 6 秒

@whyour
Copy link
Owner

whyour commented Feb 10, 2023

cryptography 和 cryptg 什么区别,装前面的是不是也行

@jsdfhasuh
Copy link
Author

cryptography 和 cryptg 什么区别,装前面的是不是也行
我在尝试跑 这个项目https://github.com/kuaizi/telegram_channel_downloader,它标明需要这个依赖
cyptg 这是python 3的一个小c扩展,可以帮助需要 使用Telegram API,它使用不常见的AES-IGE模式
cryptography是用来加密。
两者应该不同

@whyour
Copy link
Owner

whyour commented Feb 10, 2023

linux 安装

rust 
cargo

@whyour whyour closed this as completed Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants