1. Python CFFI
  2. Untitled project
  3. cffi
Issue #21 resolved

cannot install via setuptools (easy_install)

Michael Merickel
created an issue

{{{ Searching for cffi Reading http://pypi.python.org/simple/cffi/ Reading http://cffi.readthedocs.org Best match: cffi 0.3 Downloading http://pypi.python.org/packages/source/c/cffi/cffi-0.3.tar.gz Processing cffi-0.3.tar.gz Running cffi-0.3/setup.py -q bdist_egg --dist-dir /var/folders/gx/hylmd5nx0vqf554nsk9m23wm0000gn/T/easy_install-mOlcL1/cffi-0.3/egg-dist-tmp-lWfr4e error: SandboxViolation: open('/dev/null', 'w') {}

The package setup script has attempted to modify files on your system that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not support alternate installation locations even if you run its setup script by hand. Please inform the package's author and the EasyInstall maintainers to find out if a fix or workaround is available. }}}

Comments (4)

  1. Michael Merickel reporter

    Note that pip works fine but that it tends to be a very bad idea to mix pip usage with easy_install, and we are using easy_install for several critical features (e.g. binary packages) already in our environment.

  2. Michael Merickel reporter

    I tested via

    hg clone https://bitbucket.org/cffi/cffi
    
    cd cffi
    virtualenv -p python2.7 env27
    env27/bin/easy_install .
    
    virtualenv -p python2.6 env26
    env26/bin/easy_install .
    

    It works fine on both. Thanks!

  3. Log in to comment