3

我正在尝试使用 StarCluster 和稍后的 BioCoductor AMI 在 AWS 上设置 R 集群。目标是使用雪在多个节点上运行一些并行计算。

但是,我一开始就在 WINDOWS 7 64 位上安装 StarCluster(可能是原因)。

我做了什么:(http://star.mit.edu/cluster/docs/latest/installation.html

  1. 安装 Python 2.7.5
  2. 将 c:\Pyhton\Scripts 目录添加到 PATH(甚至重新启动)
  3. 安装 setuptools 0.6rc11
  4. pycrypto 2.3
  5. 在 c:\Python\Scripts 中打开 CMD 提示符并执行:easy_install StarCluster

但是它以错误结束。看起来它没有使用正确的文件夹

有人有想法吗?

C:\Python27\Scripts>easy_install StarCluster
Searching for StarCluster
Reading http://pypi.python.org/simple/StarCluster/
Best match: StarCluster 0.94
Downloading pypi.python.org/packages/source/S/StarCluster/StarCluster-
0.94.tar.gz#md5=982f59fde2a32b4bc059a497f5c0a0b7
Processing StarCluster-0.94.tar.gz
Running StarCluster-0.94\setup.py -q bdist_egg --dist-dir 
c:\users\floris\appdata\local\temp\easy_in
stall-6bfhto\StarCluster-0.94\egg-dist-tmp-fb1ysr
Adding starcluster 0.94 to easy-install.pth file
Installing starcluster-script.py script to C:\Python27\Scripts
Installing starcluster.exe script to C:\Python27\Scripts
Installing starcluster.exe.manifest script to C:\Python27\Scripts

Installed c:\python27\lib\site-packages\starcluster-0.94-py2.7.egg
Processing dependencies for StarCluster
Searching for optcomplete>=1.2-devel
Reading http://pypi.python.org/simple/optcomplete/
Best match: optcomplete 1.2-devel
Downloading pypi.python.org/packages/source/o/optcomplete/optcomplete-1.2-
devel.tar.gz#md5=6392cd0a7154b3394004d5ad9d913d59
Processing optcomplete-1.2-devel.tar.gz
Running optcomplete-1.2-devel\setup.py -q bdist_egg --dist-dir 
c:\users\floris\appdata\local\temp\ea
sy_install-hbgocr\optcomplete-1.2-devel\egg-dist-tmp-ifrkgu
zip_safe flag not set; analyzing archive contents...
No eggs found in c:\users\floris\appdata\local\temp\easy_install-hbgocr\optcomplete-
1.2-devel\egg-dist-tmp-ifrkgu (setup script problem?)
error: Could not find required distribution optcomplete>=1.2-devel
4

1 回答 1

1

我对easy_install 有同样的问题。这个链接帮助了我:

http://star.mit.edu/cluster/mlarchives/1942.html

基本上说使用 pip 而不是 easy_install

点安装星团

我在这里找到了安装所需的 pip 二进制文件:

http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip

使用 pip 它工作得很好。

于 2013-12-02T18:17:47.287 回答