我正在尝试使用 StarCluster 和 lateron BioCoductor AMI 在 AWS 上设置 R 集群。目标是使用雪在多个节点上运行一些并行计算。
但是我一开始就卡在了在 WINDOWS 7 64bit 上安装 StarCluster(可能是这个原因)。
我做了什么: ( http://star.mit.edu/cluster/docs/latest/installation.html )
- 安装 Python 2.7.5
- 将 c:\Pyhton\Scripts 目录添加到 PATH(甚至重新启动)
- 已安装 setuptools 0.6rc11
- pycrypto 2.3
- 在 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
最佳答案
我在使用 easy_install 时遇到了同样的问题。这个链接帮助了我:
http://star.mit.edu/cluster/mlarchives/1942.html
基本上说要使用 pip 而不是 easy_install
pip install starcluster
我在这里找到了安装所需的 pip 二进制文件:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip
使用 pip 它工作得很好。
关于windows - starcluster easy_install windows,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19064888/