2012-02-26 38 views
2

我开发了一个使用dropbox api的Django应用程序。在我的Windows上的开发环境,它使用python 2.7完美工作。我尝试将它部署到我的网站(由webfaction托管),我最初使用python 2.5进行安装。如果我尝试从保管箱-1.3 API目录运行在webfaction上安装dropboxpython api(带有ssl)问题

python2.5 setup.py install

我得到这个错误:

The package setup script has attempted to modify files on your system that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not support alternate installation locations even if you run its setup script by hand. Please inform the package's author and the EasyInstall maintainers to find out if a fix or workaround is available.

这似乎发生在尝试处理后的依赖,并试图安装“SSL”。我不知道如何解决这个问题?

+0

我刚刚升级到Python 2.7,因为没有别的似乎运作。这解决了这个问题。 dropbox api安装没有问题。 – rsp 2012-05-13 21:12:27

回答

0

如果您下载tar包,解压缩它,然后在目录中自己运行setup.py,那么显然安装SSL软件包将起作用。

安装完成后,您应该可以安装Dropbox软件包。

SSL:http://pypi.python.org/pypi/ssl