Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/291.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 所需的distribute版本(>;=0.6.49)不可用?_Python_Pip_Easy Install - Fatal编程技术网

Python 所需的distribute版本(>;=0.6.49)不可用?

Python 所需的distribute版本(>;=0.6.49)不可用?,python,pip,easy-install,Python,Pip,Easy Install,我尝试使用PIP(PIP install SoundCloud)安装SoundCloud API,以获取此错误消息 正在下载/解包soundcloud运行setup.py egg_信息,以便 包声云 所需的distribute版本(>=0.6.49)不可用, 在运行此脚本时无法安装。请 首先使用安装更新的版本 “轻松安装-发布” (Currently using distribute 0.6.24dev-r0 (/usr/lib/python2.7/dist-packages)) Complet

我尝试使用PIP(PIP install SoundCloud)安装SoundCloud API,以获取此错误消息

正在下载/解包soundcloud运行setup.py egg_信息,以便 包声云 所需的distribute版本(>=0.6.49)不可用, 在运行此脚本时无法安装。请 首先使用安装更新的版本 “轻松安装-发布”

(Currently using distribute 0.6.24dev-r0 (/usr/lib/python2.7/dist-packages))
Complete output from command python setup.py egg_info:
The required version of distribute (>=0.6.49) is not available,
在运行此脚本时无法安装。请

首先使用安装更新的版本

“轻松安装-发布”

(Currently using distribute 0.6.24dev-r0 (/usr/lib/python2.7/dist-packages))
Complete output from command python setup.py egg_info:
The required version of distribute (>=0.6.49) is not available,
(当前使用distribute 0.6.24dev-r0 (/usr/lib/python2.7/dist包))

我试着像推荐的那样,运行easy_install-U distribute,找到这个

错误:无法在安装目录中创建或删除文件

尝试在中添加或删除文件时发生以下错误 安装目录:

[Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/test-easy-install-1661.pth'
指定的安装目录(通过--install dir,-prefix, 或distutils默认设置)为:

您的帐户可能没有对此目录的写入权限?如果 安装目录是系统拥有的目录,您可能需要 以管理员或“root”帐户身份登录。如果你没有 管理访问此计算机,您可能希望选择 不同的安装目录,最好是中列出的目录 您的PYTHONPATH环境变量

有关其他选项的信息,请咨询 文件位于:

请对您的系统进行适当的更改,然后重试

我试着去底部的链接,得到一条404信息。我该怎么做才能使一切恢复正常?

试着运行:

sudo easy\U安装-U分发

sudo
允许您以“root”用户身份运行命令,以访问常规用户帐户可能无法访问的文件和目录