easy_install的失败上的错误和QUOT;找不到安装脚本"后二进制上传? [英] easy_install fails on error "Couldn't find setup script" after binary upload?

查看:219
本文介绍了easy_install的失败上的错误和QUOT;找不到安装脚本"后二进制上传?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

上传我的Python C扩展的二进制分发与蟒蛇setup.py bdist后上传的easy_install [我的包名称] 上失败的错误:无法找到一个安装脚本的/ tmp /的easy_install /包名称等等,等等。

After uploading a binary distribution of my Python C extension with python setup.py bdist upload, easy_install [my-package-name] fails on "error: Couldn't find a setup script in /tmp/easy_install/package-name-etc-etc".

我在做什么错了?

推荐答案

这可能不涉及您的特定问题,但我的情况下,提供这个信息,帮助他人。

This may not be related to your specific problem, but I am providing this information in case it is helpful to others.

我运行时,某某的easy_install'打的正是这种错误。原来,这个问题是我有一个在当前工作目录中名为XYZ的子目录和easy_install的期待找到一个安装脚本在当地该子目录,而不是走出去到网上,以获得真正的XYZ。重命名我的本地目录XYZ解决了这一问题。

I hit exactly this error when running 'easy_install xyz'. The problem turned out to be that I had a subdirectory named 'xyz' in the current working directory and easy_install was expecting to find a setup script locally in that subdirectory instead of going out to the web to get the real xyz. Renaming my local xyz directory fixed the problem.

这篇关于easy_install的失败上的错误和QUOT;找不到安装脚本"后二进制上传?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆