繁体   English   中英

在Windows上安装shoutpy / Boost.python

[英]Installing shoutpy / Boost.python on windows

我试图在Windows上的python 2.7 x86下安装ShoutPY(http://dingoskidneys.com/shoutpy/),但安装失败:

C:\Python27\Scripts>easy_install shoutpy
Searching for shoutpy
Reading http://pypi.python.org/simple/shoutpy/
Reading http://dingoskidneys.com/shoutpy/
Best match: shoutpy 1.0.0
Downloading http://dingoskidneys.com/shoutpy/shoutpy-1.0.0.tar.gz
Processing shoutpy-1.0.0.tar.gz
Writing c:\users\vladim~1\appdata\local\temp\easy_install-pnwegl\shoutpy-1.0.0\s
etup.cfg
Running shoutpy-1.0.0\setup.py -q bdist_egg --dist-dir c:\users\vladim~1\appdata
\local\temp\easy_install-pnwegl\shoutpy-1.0.0\egg-dist-tmp-otdtxq
shoutpy.cc:26:28: fatal error: boost/python.hpp: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1

我发现我缺少了Boost.python。 试图找到如何安装它,但失败了,有人可以帮助我吗?

谢谢。

我猜您不是在Cygwin下运行此程序,因此您面临一些挑战。 您安装了gcc吗? 安装需要它。 您还需要安装Boost,并且正如Bart在评论中所说,最好的方法是查看其build / install文档

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM