[Distutils] error with bittorrent and twisted

andy nicholson intothemist at gmail.com
Sun Oct 14 19:42:12 CEST 2007


hi
im trying to package 5.0.9 bittorrent
(http://download.bittorrent.com/dl/) , as well as twisted (2.5) using
setuptools.

On install i get an error for bittorrent :

...
Searching for BitTorrent>=5.0,<6
Reading http://download.bittorrent.com/dl/
Best match: BitTorrent 5.0.9
Downloading http://download.bittorrent.com/dl/BitTorrent-5.0.9.tar.gz
Processing BitTorrent-5.0.9.tar.gz
Running BitTorrent-5.0.9/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-7A9E17/BitTorrent-5.0.9/egg-dist-tmp-1kUjWw
error: SandboxViolation: mkdir('/home/andy/.bittorrent', 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.
--

I get another error for Twisted :
Searching for Twisted>=2.5
Reading http://download.bittorrent.com/dl/
Reading http://cheeseshop.python.org/pypi/Twisted/
Reading http://twistedmatrix.com/
Reading http://cheeseshop.python.org/pypi/Twisted/2.5.0
Best match: Twisted 2.5.0
Downloading http://tmrc.mit.edu/mirror/twisted/Twisted/2.5/Twisted-2.5.0.tar.bz2
Processing Twisted-2.5.0.tar.bz2
Running Twisted-2.5.0/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-c7WTc2/Twisted-2.5.0/egg-dist-tmp-hIcXuu
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'bdist_egg'
Error: Subprocess exited with result 1 for project core
error: Setup script exited with 1

---

any hints?
thanks
-- 
Andy Nicholson

+44 774 733 4891 [ .uk ]

+61 406 306 715 [ .au ]


More information about the Distutils-SIG mailing list