Note that there are some explanatory texts on larger screens.

plurals
  1. POTrying to install PyCrypto on Ubuntu via Buildout, src/config.h: No such file or directory
    primarykey
    data
    text
    <p>I'm trying to install PyCrypto on an Ubuntu instance via Buildout (via easy_install) and I'm getting the following error:</p> <pre><code>Getting distribution for 'pycrypto&gt;=1.9'. Running easy_install: /usr/bin/python "-S" "-c" "import sys,os;p = sys.path[:];import site;sys.path[:] = p; [sys.modules.pop(k) for k, v in sys.modules.items() if hasattr(v, '__path__') and len(v.__path__)==1 and not os.path.exists(os.path.join(v.__path__[0],'__init__.py'))];from setuptools.command.easy_install import main;main()" "-mUNxd" "/opt/rocktech/buildout/cache/eggs/tmppKIfK7" "-Z" "/opt/rocktech/buildout/cache/download/dist/pycrypto-2.4.tar.gz" path=/opt/rocktech/buildout/cache/eggs/setuptools-0.6c12dev_r88846-py2.6.egg Processing pycrypto-2.4.tar.gz Running pycrypto-2.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-dD_8Pu/pycrypto- 2.4/egg-dist-tmp-_d3xDl error: Setup script exited with error: src/config.h: No such file or directory An error occurred when trying to install pycrypto 2.4. Look above this message for any errors that were output by easy_install. While: Installing django. Getting distribution for 'pycrypto&gt;=1.9'. Error: Couldn't install: pycrypto 2.4 </code></pre> <p>Any idea on what's causing this?</p> <p>Notably, I had the same issue locally on Snow Leopard and I was able to fix it by downloading the code directly and running <code>python manage.py build</code> and <code>python manage.py install</code> by hand. I want to avoid that here because I'm deploying to a dozen servers.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload