安装python Github软件包错误:软件包目录'src'不存在(Installing python Github package error: package directory 'src' does not exist)
我新安装外部Github软件包到Python。
我通过运行命令成功克隆了一个包
git clone https://github.com/vishnubob/python-midi.git但是,当我跑了
python setup.py install我收到错误消息:
No sequencer available for 'win32' platform. C:\Python27\lib\site-packages\setuptools\dist.py:341: UserWarning: Normalizing 'v0.2.3' to '0.2.3' normalized_version, running install running bdist_egg running egg_info creating midi.egg-info writing midi.egg-info\PKG-INFO writing top-level names to midi.egg-info\top_level.txt writing dependency_links to midi.egg-info\dependency_links.txt writing manifest file 'midi.egg-info\SOURCES.txt' **error: package directory 'src' does not exist**这是一个目录问题吗? 还有另一种方法来安装这个软件包(可能通过点)?
I am new at installing external Github packages into python.
I successfully cloned a package by running the command
git clone https://github.com/vishnubob/python-midi.gitHowever, when I ran
python setup.py installI received the error:
No sequencer available for 'win32' platform. C:\Python27\lib\site-packages\setuptools\dist.py:341: UserWarning: Normalizing 'v0.2.3' to '0.2.3' normalized_version, running install running bdist_egg running egg_info creating midi.egg-info writing midi.egg-info\PKG-INFO writing top-level names to midi.egg-info\top_level.txt writing dependency_links to midi.egg-info\dependency_links.txt writing manifest file 'midi.egg-info\SOURCES.txt' **error: package directory 'src' does not exist**Is this a directory problem? And is there another approach to install this package (possible via pip)?
最满意答案
关于git hub的自述文件有:“我对支持OS-X和Win32音序器非常感兴趣,但是我需要可以帮助我的平台专家,你是那个人吗?如果你愿意帮忙,请联系我。 所以在Win32上不支持它。
The readme on git hub has: "I am extremely interested in supporting OS-X and Win32 sequencers as well, but I need platform expert who can help me. Are you that person? Please contact me if you would like to help." So it is simply not supported on Win32.
更多推荐
发布评论