安装python Github软件包错误:软件包目录'src'不存在(Installing python Github package error: package directo

编程入门 行业动态 更新时间:2024-10-26 18:19:58
安装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.git

However, when I ran

python setup.py install

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

更多推荐

本文发布于:2023-08-03 18:39:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1396238.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:软件包   不存在   错误   目录   python

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!