eudicots / Cactus

Static site generator for designers. Uses Python and Django templates.
BSD 3-Clause "New" or "Revised" License
3.46k stars 314 forks source link

fatal error for cryptography-1.5.2 during python setup.py install #259

Open rshpeley opened 8 years ago

rshpeley commented 8 years ago

Here's a partial list of what happens when trying to run setup.py under python3.5.2,

Searching for cryptography
Reading https://pypi.python.org/simple/cryptography/
Best match: cryptography 1.5.2
Downloading https://pypi.python.org/packages/03/1a/60984cb85cc38c4ebdfca27b32a6df6f1914959d8790f5a349608c78be61/cryptography-1.5.2.tar.gz#md5=f977a6ddb38b071213c0157fc77c62ab
Processing cryptography-1.5.2.tar.gz
Writing /tmp/easy_install-px2xzf_h/cryptography-1.5.2/setup.cfg
Running cryptography-1.5.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-px2xzf_h/cryptography-1.5.2/egg-dist-tmp-jy9a5iea

Installed /tmp/easy_install-px2xzf_h/cryptography-1.5.2/.eggs/cffi-1.8.3-py3.5-linux-x86_64.egg
Searching for pycparser
Reading https://pypi.python.org/simple/pycparser/
Best match: pycparser 2.14
Downloading https://pypi.python.org/packages/6d/31/666614af3db0acf377876d48688c5d334b6e493b96d21aa7d332169bee50/pycparser-2.14.tar.gz#md5=a2bc8d28c923b4fe2b2c3b4b51a4f935
Processing pycparser-2.14.tar.gz
Writing /tmp/easy_install-px2xzf_h/cryptography-1.5.2/temp/easy_install-hzpwpyuf/pycparser-2.14/setup.cfg
Running pycparser-2.14/setup.py -q bdist_egg --dist-dir /tmp/easy_install-px2xzf_h/cryptography-1.5.2/temp/easy_install-hzpwpyuf/pycparser-2.14/egg-dist-tmp-mttpnfxa
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
Moving pycparser-2.14-py3.5.egg to /tmp/easy_install-px2xzf_h/cryptography-1.5.2/.eggs

Installed /tmp/easy_install-px2xzf_h/cryptography-1.5.2/.eggs/pycparser-2.14-py3.5.egg
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*' found under directory 'vectors'
build/temp.linux-x86_64-3.5/_openssl.c:433:30: fatal error: openssl/opensslv.h: No such file or directory
 #include <openssl/opensslv.h>
                              ^
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1

Running cactus create ~/www.mysite.com gives no joy.

ghostsquad commented 8 years ago

does this work in other versions of python?