Comments (30)
@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.
setup.py中
install_requires=[
'PyQt5'
'pycryptodome',
'eyed3==0.8.0',
'quamash',
'requests',
],
第一行末尾缺少分隔逗号,使用 python3 setup.py install
会找不到PyQt5pycryptodome
因为不存在这个包。
from musicbox.
@tnwrwqdbythyck
感谢,已进行更正。
from musicbox.
@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.
这个项目可以不安装运行吗
from musicbox.
@pigletLet 抱歉,目前并不是一个web项目,所以不能直接运行。
from musicbox.
需要安装之后才可以运行吗
from musicbox.
@pigletLet 是的,目前需要安装好环境后运行。安装或运行过程中如有问题还请指出~。
from musicbox.
from musicbox.
这是什么问题
from musicbox.
@pigletLet
请贴一下相关环境。需要Python 3.5+
from musicbox.
from musicbox.
@pigletLet
3.7版本太新了,很多需要的包都没有相关版本,如果没有必要最好是3.5/3.6版本。
另外你上面的那个错误可看下
http://rffan.info/5783
from musicbox.
大牛加个qq :1293291031 私聊你
from musicbox.
@pigletLet
你可以发起一个Issue,这样可以让更多人帮助你,也可以帮助更多的人~。
from musicbox.
from musicbox.
python版本控制还不会运用
from musicbox.
@pengliheng
下载多个Python版本按需修改环境变量中的路径即可。
from musicbox.
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.
@HuberTRoy 请教一下
from musicbox.
@Gogo008
如果是在安装pycryptodome
时出现的这个错误,可以尝试安装pycryptodomex
。
这个错误是因为没有c++编译工具造成的,解决方法可以谷歌百度。
from musicbox.
@HuberTRoy 为什么我运行显示找不到指定程序
from musicbox.
@fangjunjunnana
可以在目录下用 python music.py
尝试运行,一般是windows环境导致。
from musicbox.
所以编译成功后,在这个目录下有了编译后的程序,那么怎么运行呢?win7
from musicbox.
from musicbox.
@bigNeoneo
重新安装PyQt5。
from musicbox.
这个解决了吗,同一个问题
from musicbox.
win10下出现两个问题,请求大神帮助,谢谢
Q1:搜索音乐时只有网易云和QQ的库,不显示虾米:
Q2:虾米歌单播放时程序会崩溃退出
from musicbox.
根据5楼BigUncle的方法改进,将所有库都自行下载安装之后,在setup.py文件中把安装好的库都给注释掉,我就安装成功了,不过还是出现了些小问题
from musicbox.
@GaoLiangg
项目已经未更新很久,相关API应该有些已经失效,请关注其他同类优秀项目~。
from musicbox.
Related Issues (20)
- 建议增加保存上次选择的"本地音乐"路径的能力 HOT 1
- 我是在mac下 运行后产生的cookies文件下和其子文件夹mediaPlaylist,playlist下的.cks文件一直是空 这是怎么回事呢?... 作者你能提供这几份.cks文件吗? 多谢了.... 急急急 HOT 4
- ImportError: No module named 'PyQt5.sip' HOT 2
- 终于安装好啦,然后发现没有歌单导入,批量下载. HOT 1
- 请问一下数据的存储是什么方式啊 HOT 1
- 运行时出现错误求解 HOT 1
- 客户端在线更新功能
- 无法播放 HOT 5
- QQ音乐和虾米音乐的api均已无法使用
- ubuntu打开出现乱码 HOT 1
- 大神您好,我想根据您的这个界面增加几个Button,再插入几个图标曲线之类的,怎么操作呀? HOT 1
- MV怎么实现播放 HOT 1
- 能不能把音乐进行分类 HOT 1
- 有官方Docker支持吗 HOT 1
- eyed3没有0.8.0这个版本 HOT 1
- Fatal Python error: PyThreadState_Get: no current thread
- 请问我要添加自己的音乐api要怎么改
- 安装出错 HOT 1
- 运行music.py直接退出
- cookies是空的,好像,大佬能指导一下吗?界面是能搜索到歌曲中,但是不能播放。 HOT 2
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 musicbox.