我使用的是随h集群提供的setup.py文件,并添加了以下行:
sys.path.append("c:\\Program Files\\Python26\\Lib\\site-packages\\hcluster-0.2.0")
sys.path.append("c:\\Program Files\\Python26\\Lib\\site-packages\\hcluster-0.2.0\\hcluster")然后使用setup.py如下:
程序Files\Python26\Lib\site-packages\hcluster-0.2.0\setup.py“
"c:\program files\python26\python.exe”c:
我收到以下错误消息:
running install
running build
running build_py
error: package directory 'hcluster' does not exist不知道它是想读还是写。
感谢你的任何帮助
发布于 2010-11-09 18:40:49
2.1您应该在站点之外拥有h集群-包,例如在您的主目录中,然后运行"python setup.py install“。
2.2这将把包后构建到站点-包目录。默认情况下,所有外部包都位于installed.
https://stackoverflow.com/questions/4137159
复制相似问题