fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Install fails on Mac OS X


From: David Cancel
Subject: Re: [Fab-user] Install fails on Mac OS X
Date: Thu, 12 Jun 2008 12:18:08 -0400

Thanks again for the workaround. For completeness sake below is the
error when I try that approach:

-- BEGIN --------------------

sudo easy_install
http://pypi.python.org/packages/source/F/Fabric/Fabric-0.0.5.tar.gz
Downloading http://pypi.python.org/packages/source/F/Fabric/Fabric-0.0.5.tar.gz
Processing Fabric-0.0.5.tar.gz
Running Fabric-0.0.5/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-HnMRsb/Fabric-0.0.5/egg-dist-tmp-ryqeIo
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/Current/bin/easy_install",
line 8, in <module>
    load_entry_point('setuptools==0.6c7', 'console_scripts', 'easy_install')()
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py",
line 1670, in main
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py",
line 1659, in with_ei_usage
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py",
line 1674, in <lambda>
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py",
line 151, in setup
    dist.run_commands()
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
line 974, in run_commands
    self.run_command(cmd)
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
line 994, in run_command
    cmd_obj.run()
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py",
line 211, in run
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py",
line 422, in easy_install
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py",
line 471, in install_item
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py",
line 655, in install_eggs
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py",
line 930, in build_and_install
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py",
line 919, in run_setup
  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 27, in run_setup
  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 63, in run
  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 29, in <lambda>
  File "setup.py", line 4, in <module>
  File "/tmp/easy_install-HnMRsb/Fabric-0.0.5/fabric.py", line 33, in <module>
  File "build/bdist.macosx-10.3-fat/egg/paramiko/__init__.py", line
69, in <module>
  File "build/bdist.macosx-10.3-fat/egg/paramiko/transport.py", line
37, in <module>
  File "build/bdist.macosx-10.3-fat/egg/paramiko/dsskey.py", line 31,
in <module>
  File "build/bdist.macosx-10.3-fat/egg/paramiko/pkey.py", line 28, in <module>
  File "build/bdist.macosx-10.3-fat/egg/Crypto/Cipher/DES3.py", line
7, in <module>
  File "build/bdist.macosx-10.3-fat/egg/Crypto/Cipher/DES3.py", line
4, in __bootstrap__
  File "build/bdist.linux-i686/egg/pkg_resources.py", line 841, in
resource_filename
  File "build/bdist.linux-i686/egg/pkg_resources.py", line 1311, in
get_resource_filename
  File "build/bdist.linux-i686/egg/pkg_resources.py", line 1332, in
_extract_resource
  File "build/bdist.linux-i686/egg/pkg_resources.py", line 921, in
get_cache_path
  File "build/bdist.linux-i686/egg/pkg_resources.py", line 887, in
extraction_error
pkg_resources.ExtractionError: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the Python egg
cache:

  SandboxViolation:
mkdir('/Users/dcancel/.python-eggs/pycrypto-2.0.1-py2.5-macosx-10.3-fat.egg-tmp',
511) {}

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.

The Python egg cache directory is currently set to:

  /Users/dcancel/.python-eggs

Perhaps your account does not have write access to this directory?  You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.


-- END -----------------------

I also got the same error on an Ubuntu server of mine:

-- BEGIN --------------------

easy_install http://pypi.python.org/packages/source/F/Fabric/Fabric-0.0.5.tar.gz
Downloading http://pypi.python.org/packages/source/F/Fabric/Fabric-0.0.5.tar.gz
Processing Fabric-0.0.5.tar.gz
Running Fabric-0.0.5/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-ioE5Tp/Fabric-0.0.5/egg-dist-tmp-XenCpq
Traceback (most recent call last):
  File "/usr/bin/easy_install", line 8, in <module>
    load_entry_point('setuptools==0.6c5', 'console_scripts', 'easy_install')()
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py",
line 1670, in main
    with_ei_usage(lambda:
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py",
line 1659, in with_ei_usage
    return f()
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py",
line 1674, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "distutils/core.py", line 151, in setup
  File "distutils/dist.py", line 974, in run_commands
  File "distutils/dist.py", line 994, in run_command
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py",
line 211, in run
    self.easy_install(spec, not self.no_deps)
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py",
line 422, in easy_install
    return self.install_item(None, download, tmpdir, deps, True)
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py",
line 471, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py",
line 655, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py",
line 930, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py",
line 919, in run_setup
    run_setup(setup_script, args)
  File "/usr/lib/python2.5/site-packages/setuptools/sandbox.py", line
27, in run_setup
    lambda: execfile(
  File "/usr/lib/python2.5/site-packages/setuptools/sandbox.py", line 63, in run
    return func()
  File "/usr/lib/python2.5/site-packages/setuptools/sandbox.py", line
29, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 4, in <module>
  File "/tmp/easy_install-ioE5Tp/Fabric-0.0.5/fabric.py", line 33, in <module>
  File "build/bdist.linux-i686/egg/paramiko/__init__.py", line 69, in <module>
  File "build/bdist.linux-i686/egg/paramiko/transport.py", line 37, in <module>
  File "build/bdist.linux-i686/egg/paramiko/dsskey.py", line 31, in <module>
  File "build/bdist.linux-i686/egg/paramiko/pkey.py", line 28, in <module>
  File "build/bdist.linux-i686/egg/Crypto/Cipher/DES3.py", line 7, in <module>
  File "build/bdist.linux-i686/egg/Crypto/Cipher/DES3.py", line 4, in
__bootstrap__
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 800,
in resource_filename
    self, resource_name
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1229,
in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1250,
in _extract_resource
    self.egg_name, self._parts(zip_path)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 880,
in get_cache_path
    self.extraction_error()
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 846,
in extraction_error
    raise err
pkg_resources.ExtractionError: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the Python egg
cache:

  SandboxViolation: mkdir('/root/.python-eggs', 511) {}

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.

The Python egg cache directory is currently set to:

  /root/.python-eggs

Perhaps your account does not have write access to this directory?  You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.

-- END -----------------------


Note: pycrypto is already installed.

Thanks,
David


On Thu, Jun 12, 2008 at 12:00 PM, Christian Vest Hansen
<address@hidden> wrote:
> Yes, the binary distribution are broken for everyone but those who
> have installed python with fink on a Mac (dunno if it has to 10.4 or
> not).
>
> The work-around is to get the source distribution:
>
> $ sudo easy_install
> http://pypi.python.org/packages/source/F/Fabric/Fabric-0.0.5.tar.gz
>
> Next time I release I'll try to only upload a source distribution.
> Hopefully that'll clear things up.
>
> On 6/12/08, David Cancel <address@hidden> wrote:
>> Hi,
>>
>>  Excited about Fab, looks like the tool I've been needing. Thanks for
>>  stepping up and building it.
>>
>>  Here's is the the error I get when I try to install Fab on Mac OS X 
>> (Leopard)
>>
>>  $ sudo easy_install fabric
>>
>>  Searching for fabric
>>  Reading http://pypi.python.org/simple/fabric/
>>  Couldn't find index page for 'fabric' (maybe misspelled?)
>>  Scanning index of all packages (this may take a while)
>>  Reading http://pypi.python.org/simple/
>>  Reading http://pypi.python.org/simple/Fabric/
>>  Reading https://savannah.nongnu.org/projects/fab/
>>  Best match: Fabric 0.0.5.macosx-10.4-i386
>>  Downloading 
>> http://pypi.python.org/packages/any/F/Fabric/Fabric-0.0.5.macosx-10.4-i386.tar.gz#md5=68b06f103835493d47107600f2757e3e
>>  Processing Fabric-0.0.5.macosx-10.4-i386.tar.gz
>>  error: Couldn't find a setup script in
>>  /tmp/easy_install-_kmNLl/Fabric-0.0.5.macosx-10.4-i386.tar.gz
>>
>>  Thanks in advance,
>>  David
>>
>>
>>  _______________________________________________
>>  Fab-user mailing list
>>  address@hidden
>>  http://lists.nongnu.org/mailman/listinfo/fab-user
>>
>
>
> --
> Venlig hilsen / Kind regards,
> Christian Vest Hansen.
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]