Giter Club home page Giter Club logo

Comments (30)

HuberTRoy avatar HuberTRoy commented on June 7, 2024

@zasl
不太清楚你做了哪些尝试。
一般用python setup.py install 然后安装下PyQt5(Windows下是个exe文件。)就能用了。
如果不能用尝试pip install -r requirements.txt安装所有依赖。

如果你用了 python setup.py install
得到的提示是pycrypto这个模块安装不上,我现在做了更新会尝试安装pycryptodome。如果仍然安装不了尝试使用 pip install pycryptodomex安装另一个编译完成的包。

如果安装依赖时出现timeout可以尝试用豆瓣源,或上梯子。

from musicbox.

tnwrwqdbythyck avatar tnwrwqdbythyck commented on June 7, 2024

setup.py中

 install_requires=[
        'PyQt5'
        'pycryptodome',
        'eyed3==0.8.0',
        'quamash',
        'requests',
    ],

第一行末尾缺少分隔逗号,使用 python3 setup.py install会找不到PyQt5pycryptodome因为不存在这个包。

from musicbox.

HuberTRoy avatar HuberTRoy commented on June 7, 2024

@tnwrwqdbythyck
感谢,已进行更正。

from musicbox.

BigUncle avatar BigUncle commented on June 7, 2024

@zasl 我是一直安装不了pycryptodome,提示报错。
Best match: pycryptodome 3.4.7 Processing pycryptodome-3.4.7.tar.gz Writing C:\Users\Cy\AppData\Local\Temp\easy_install-2secomcc\pycryptodome-3.4.7\setup.cfg Running pycryptodome-3.4.7\setup.py -q bdist_egg --dist-dir C:\Users\Cy\AppData\Local\Temp\easy_install-2secomcc\pycryptodome-3.4.7\egg-dist-tmp-spufdbfy warning: no files found matching 'Doc\epydoc-config' warning: no files found matching '.separate_namespace'

后来我用作者的方法pip install pycryptodomex手动安装了pycryptodomex,但是安装程序还会去强制安装pycryptodome、PyQt5、requests(这些自己的环境实际上已经安装了)。
为了跳过这些安装,我把setup.py文件的17-13行
install_requires=[ 'PyQt5', 'pycryptodome', 'eyed3==0.8.0', 'quamash', 'requests' ],
的几个已经安装过的库给注释掉,改成:

install_requires=[
#'PyQt5',
#'pycryptodome',
'eyed3==0.8.0',
'quamash',
#'requests'
],

再执行python setup.py install就成功了。

from musicbox.

bubei-inc avatar bubei-inc commented on June 7, 2024

这个项目可以不安装运行吗

from musicbox.

HuberTRoy avatar HuberTRoy commented on June 7, 2024

@pigletLet 抱歉,目前并不是一个web项目,所以不能直接运行。

from musicbox.

bubei-inc avatar bubei-inc commented on June 7, 2024

需要安装之后才可以运行吗

from musicbox.

HuberTRoy avatar HuberTRoy commented on June 7, 2024

@pigletLet 是的,目前需要安装好环境后运行。安装或运行过程中如有问题还请指出~。

from musicbox.

bubei-inc avatar bubei-inc commented on June 7, 2024

default

from musicbox.

bubei-inc avatar bubei-inc commented on June 7, 2024

这是什么问题

from musicbox.

HuberTRoy avatar HuberTRoy commented on June 7, 2024

@pigletLet
请贴一下相关环境。需要Python 3.5+

from musicbox.

bubei-inc avatar bubei-inc commented on June 7, 2024

default

from musicbox.

HuberTRoy avatar HuberTRoy commented on June 7, 2024

@pigletLet
3.7版本太新了,很多需要的包都没有相关版本,如果没有必要最好是3.5/3.6版本。
另外你上面的那个错误可看下
http://rffan.info/5783

from musicbox.

bubei-inc avatar bubei-inc commented on June 7, 2024

大牛加个qq :1293291031 私聊你

from musicbox.

HuberTRoy avatar HuberTRoy commented on June 7, 2024

@pigletLet
你可以发起一个Issue,这样可以让更多人帮助你,也可以帮助更多的人~。

from musicbox.

bubei-inc avatar bubei-inc commented on June 7, 2024

在运行之后 点击推荐的歌单不可以进入
default

from musicbox.

plh97 avatar plh97 commented on June 7, 2024

python版本控制还不会运用

from musicbox.

HuberTRoy avatar HuberTRoy commented on June 7, 2024

@pengliheng
下载多个Python版本按需修改环境变量中的路径即可。

from musicbox.

amiglistimo avatar amiglistimo commented on June 7, 2024

win10 64bit python 提示:error: Setup script exited with error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
不知道什么原因?

from musicbox.

amiglistimo avatar amiglistimo commented on June 7, 2024

@HuberTRoy 请教一下

from musicbox.

HuberTRoy avatar HuberTRoy commented on June 7, 2024

@Gogo008
如果是在安装pycryptodome时出现的这个错误,可以尝试安装pycryptodomex
这个错误是因为没有c++编译工具造成的,解决方法可以谷歌百度。

from musicbox.

fangjunjunnana avatar fangjunjunnana commented on June 7, 2024

OKCEVZ{4OOF_9}XO01T `VX
@HuberTRoy 为什么我运行显示找不到指定程序

from musicbox.

HuberTRoy avatar HuberTRoy commented on June 7, 2024

@fangjunjunnana
可以在目录下用 python music.py 尝试运行,一般是windows环境导致。

from musicbox.

bigNeoneo avatar bigNeoneo commented on June 7, 2024

所以编译成功后,在这个目录下有了编译后的程序,那么怎么运行呢?win7
image

from musicbox.

bigNeoneo avatar bigNeoneo commented on June 7, 2024

请教,这样报错,该怎么处理
image

from musicbox.

HuberTRoy avatar HuberTRoy commented on June 7, 2024

@bigNeoneo
重新安装PyQt5。

from musicbox.

DuZehou avatar DuZehou commented on June 7, 2024

请教,这样报错,该怎么处理
image

这个解决了吗,同一个问题

from musicbox.

GaoLiangg avatar GaoLiangg commented on June 7, 2024

win10下出现两个问题,请求大神帮助,谢谢
Q1:搜索音乐时只有网易云和QQ的库,不显示虾米:
Q2:虾米歌单播放时程序会崩溃退出

缺少虾米歌单

虾米歌单播放崩溃

from musicbox.

GaoLiangg avatar GaoLiangg commented on June 7, 2024

根据5楼BigUncle的方法改进,将所有库都自行下载安装之后,在setup.py文件中把安装好的库都给注释掉,我就安装成功了,不过还是出现了些小问题

from musicbox.

HuberTRoy avatar HuberTRoy commented on June 7, 2024

@GaoLiangg
项目已经未更新很久,相关API应该有些已经失效,请关注其他同类优秀项目~。

from musicbox.

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.