Code Monkey home page Code Monkey logo

Comments (3)

yimiaodaren avatar yimiaodaren commented on May 26, 2024 2

windows上安装pycryto都是难题~

from netease-cloud-music-dl.

chenjunyu19 avatar chenjunyu19 commented on May 26, 2024

@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.

codezjx avatar codezjx commented on May 26, 2024

抱歉,已经更新~ @mengmo @yimiaodaren @chenjunyu19

from netease-cloud-music-dl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.