简体   繁体   中英

Installing shoutpy / Boost.python on windows

I have tried to install ShoutPY (http://dingoskidneys.com/shoutpy/) under python 2.7 x86 on windows but install fails with:

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

What I figured out is that I am missing Boost.python. Tried to find how to install it but failed, could anyone help me out?

thanks.

I'm guessing you're not running this under Cygwin, so you have a couple challenges. Did you install gcc ? It's required by your install. You'll also need Boost installed and as Bart said in the comments, the best thing to do is to check out their build/install documentation .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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