Comments (3)
windows上安装pycryto都是难题~
from netease-cloud-music-dl.
@codezjx 现在 Arch Linux 已经将 python-crypto
软件包从库中移除,转而用 python-pycryptodome
代替。
$ sudo pacman -Syu
:: 正在同步软件包数据库...
core 已经是最新版本
extra 已经是最新版本
community 已经是最新版本
multilib 已经是最新版本
archlinuxcn 已经是最新版本
:: 正在进行全面系统更新...
:: 替换 python-crypto 吗 (使用 community/python-pycryptodome )? [Y/n]
正在解决依赖关系...
正在查找软件包冲突...
错误:无法准备事务处理 (无法满足依赖关系)
:: 删除 python-crypto 破坏依赖 'python-crypto>=2.6.1' (netease-cloud-music-dl-git 需要)
$ pacman -Si python-crypto
错误:软件包 'python-crypto' 未找到
我尝试替换,发现 ncm
并不能运行,提示缺少依赖。
$ ncm
Traceback (most recent call last):
File "/usr/bin/ncm", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3105, in <module>
@_call_aside
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3089, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3118, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 578, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 895, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 781, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pycrypto>=2.6.1' distribution was not found and is required by netease-cloud-music-dl
不要跟我讲 pip,全局安装模块时简直就是污染系统目录。
最后,麻烦开发者辛苦一下换用 pycryptodome
吧。
from netease-cloud-music-dl.
抱歉,已经更新~ @mengmo @yimiaodaren @chenjunyu19
from netease-cloud-music-dl.
Related Issues (20)
- Not an validate MP3 file! HOT 2
- 请求支持 FLAC 文件 HOT 3
- 调整图片大小 的函数问题,某些歌曲会有bug,OSError: cannot write mode P as JPEG HOT 1
- 不太懂报错 HOT 1
- 报错,之前一直正常使用的 HOT 3
- 建议增加歌词内嵌到mp3文件,这样iPhone 的自带播放器可以看到滚动歌词 HOT 2
- 好像不能下载专辑 HOT 1
- 下载歌曲时报错 HOT 1
- 建议合并-s与-ss参数
- Some music can't be downloaded HOT 1
- 为什么不能下载
- archlinux 响应特别慢 等好久才能下载一首歌 不是网速的问题 HOT 1
- Only download first ten songs from a playlist? HOT 3
- 下载歌单时,下载6首后停止下载 HOT 1
- 错误代码 -460 “网络太拥挤,请稍候再试” HOT 2
- {'msg': '操作频繁,请稍候再试', 'code': 406, 'message': '操作频繁,请稍候再试'}
- 'userid' 不是内部或外部命令,也不是可运行的程序 或批处理文件。
- `ncm -a <url>` 下载专辑时报错 HOT 3
- 现在还可以用么? HOT 2
- 无法添加封面图片 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netease-cloud-music-dl.