Closed jaraco closed 8 years ago
I've encountered this issue before. This issue is triggered when Python and lib2to3 tries to expand a pickle in the system directory.
I'm surprised the install of irc is triggering this error because irc doesn't use 2to3.
I worked around this in my environments by first importing lib2to3.grammar (I think) before running any installs. Please try that and let me know if that helps.
Later, I'll have my main workstation and can confirm and investigate further.
Original comment by: Jason R. Coombs
Ran the following, I assume this is what you meant?
C:\Users\Tom>pip install lib2to3.grammar
Downloading/unpacking lib2to3.grammar
Could not find any downloads that satisfy the requirement lib2to3.grammar
Cleaning up...
No distributions at all found for lib2to3.grammar
Original comment by: Nuvelle
I apologize. I didn't give very good advice, as I was working from memory.
What I meant was to run
python -c "import lib2to3.pygram"
That will trigger the Python environment to generate the lib2to3 grammar, which it stores as a pickle. If that code gets triggered first as part of installing a package, it will cause that sandbox violation (because writing outside of the sandboxed directory is disallowed).
My guess is if you run the command above, the install will work. It's possible you don't even need to run the command above and that it'll work. I'm not sure why installing httpie works but installing irc doesn't. It could be because irc uses 'setup_requires' requirements.
In any case, it's not a bug with irc. Please let me know if the above command doesn't get things going.
Original comment by: Jason R. Coombs
Attempting to install IRC to my windows using python 3.3 & PIP.
Fails to install with the following message:
"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."
PIP is working on my system (tested it by installing "httpie" which went ok :( )
Any help would be greatly appreciated!!
Full log file:
Downloading/unpacking irc
Getting page https://pypi.python.org/simple/irc/ URLs to search for versions for irc:
https://pypi.python.org/simple/irc/ Analyzing links from page https://pypi.python.org/simple/irc/ Found link https://pypi.python.org/packages/source/i/irc/irc-0.7.1.zip#md5=1d862f50891ab5fa7bc6676b5c8f95a6 (from https://pypi.python.org/simple/irc/), version: 0.7.1 Found link https://pypi.python.org/packages/source/i/irc/irc-0.7.zip#md5=c45a778b42d1d19a7af86763654c2f18 (from https://pypi.python.org/simple/irc/), version: 0.7 Found link https://pypi.python.org/packages/source/i/irc/irc-0.7b1.zip#md5=d7712d63c293d93f6f4f67391013ec18 (from https://pypi.python.org/simple/irc/), version: 0.7b1 Found link https://pypi.python.org/packages/source/i/irc/irc-0.7b2.zip#md5=adc2b7de679dbf405a0b346dad84b780 (from https://pypi.python.org/simple/irc/), version: 0.7b2 Found link https://pypi.python.org/packages/source/i/irc/irc-0.7b3.zip#md5=6b02c70a58ace86ebc69bf8965e90f18 (from https://pypi.python.org/simple/irc/), version: 0.7b3 Found link https://pypi.python.org/packages/source/i/irc/irc-0.7b4.zip#md5=66823c038f55584c2e8d828fa7385096 (from https://pypi.python.org/simple/irc/), version: 0.7b4 Found link https://pypi.python.org/packages/source/i/irc/irc-0.7b5.zip#md5=bc3cc93458f51a09c9df76c481f6fa89 (from https://pypi.python.org/simple/irc/), version: 0.7b5 Found link https://pypi.python.org/packages/source/i/irc/irc-0.7b6.zip#md5=a406ef71825ddb6d4b820f2670c44c84 (from https://pypi.python.org/simple/irc/), version: 0.7b6 Found link https://pypi.python.org/packages/source/i/irc/irc-0.8.zip#md5=9bf062dafe9dd606b4849b9878e77029 (from https://pypi.python.org/simple/irc/), version: 0.8 Found link https://pypi.python.org/packages/source/i/irc/irc-0.9.zip#md5=cff2dbd4b35448b88a1011872a1c01ed (from https://pypi.python.org/simple/irc/), version: 0.9 Found link https://pypi.python.org/packages/source/i/irc/irc-1.0.zip#md5=4625dc5bdb3366264e431fefa581863f (from https://pypi.python.org/simple/irc/), version: 1.0 Found link https://pypi.python.org/packages/source/i/irc/irc-1.1.zip#md5=34b2b2e32358b18058289b54f8ac0cc4 (from https://pypi.python.org/simple/irc/), version: 1.1 Found link https://pypi.python.org/packages/source/i/irc/irc-2.0.1.zip#md5=f5db5cfe6508042bb2bb0f393d2f71dd (from https://pypi.python.org/simple/irc/), version: 2.0.1 Found link https://pypi.python.org/packages/source/i/irc/irc-2.0.2.zip#md5=d1f0d7893ab68defc51bea1f86bcc717 (from https://pypi.python.org/simple/irc/), version: 2.0.2 Found link https://pypi.python.org/packages/source/i/irc/irc-2.0.3.zip#md5=a5475e9d5f9b647eb5f3427b2c68df2e (from https://pypi.python.org/simple/irc/), version: 2.0.3 Found link https://pypi.python.org/packages/source/i/irc/irc-2.0.4.zip#md5=04bd9d68073165c1761c5ab26ca1f952 (from https://pypi.python.org/simple/irc/), version: 2.0.4 Found link https://pypi.python.org/packages/source/i/irc/irc-2.0.zip#md5=86edb5aded157ab51ccc52f7e593ad08 (from https://pypi.python.org/simple/irc/), version: 2.0 Found link https://pypi.python.org/packages/source/i/irc/irc-3.0.1.zip#md5=d69203c3d92867a99d669339f0ec87cb (from https://pypi.python.org/simple/irc/), version: 3.0.1 Found link https://pypi.python.org/packages/source/i/irc/irc-3.0.2dev.zip#md5=279aca1e47fd8f79e2b6a9b204fc7f71 (from https://pypi.python.org/simple/irc/), version: 3.0.2dev Found link https://pypi.python.org/packages/source/i/irc/irc-3.0.zip#md5=55e5aad234262e6d8fe0d25acb01aaef (from https://pypi.python.org/simple/irc/), version: 3.0 Found link https://pypi.python.org/packages/source/i/irc/irc-3.1.1.zip#md5=4113e1ac9b1e02d1746500ef6f0be402 (from https://pypi.python.org/simple/irc/), version: 3.1.1 Found link https://pypi.python.org/packages/source/i/irc/irc-3.1.zip#md5=437360a7ef8246764d5c9c431a0035df (from https://pypi.python.org/simple/irc/), version: 3.1 Found link https://pypi.python.org/packages/source/i/irc/irc-3.2.1.zip#md5=a0e52ceb9e52f4bf4b1bd055205e6826 (from https://pypi.python.org/simple/irc/), version: 3.2.1 Found link https://pypi.python.org/packages/source/i/irc/irc-3.2.2.zip#md5=4429fc43db804e53fc3b2f9a975a30f8 (from https://pypi.python.org/simple/irc/), version: 3.2.2 Found link https://pypi.python.org/packages/source/i/irc/irc-3.2.3.zip#md5=a716b7befc2be901f85663e6b43c0fa1 (from https://pypi.python.org/simple/irc/), version: 3.2.3 Found link https://pypi.python.org/packages/source/i/irc/irc-3.2.zip#md5=900f96f30fc4e7bd712211b0094fdbf6 (from https://pypi.python.org/simple/irc/), version: 3.2 Found link https://pypi.python.org/packages/source/i/irc/irc-3.3.zip#md5=c2436e66fc1961495029eaa1e3062957 (from https://pypi.python.org/simple/irc/), version: 3.3 Found link https://pypi.python.org/packages/source/i/irc/irc-3.4.1.zip#md5=c83ccc8a7dd57a4709b118b545688545 (from https://pypi.python.org/simple/irc/), version: 3.4.1 Found link https://pypi.python.org/packages/source/i/irc/irc-3.4.2.zip#md5=dc0fbb048d684b2a3c202c2911426a70 (from https://pypi.python.org/simple/irc/), version: 3.4.2 Found link https://pypi.python.org/packages/source/i/irc/irc-3.4.zip#md5=8c4fd382f15dd9a71f5e3dfd203843c6 (from https://pypi.python.org/simple/irc/), version: 3.4 Found link https://pypi.python.org/packages/source/i/irc/irc-3.5.zip#md5=336121271ba3edacb18a35eed1b5dd4a (from https://pypi.python.org/simple/irc/), version: 3.5 Found link https://pypi.python.org/packages/source/i/irc/irc-3.6.1.zip#md5=511051c6100331fd4d8db19a39fa3d5d (from https://pypi.python.org/simple/irc/), version: 3.6.1 Found link https://pypi.python.org/packages/source/i/irc/irc-3.6.zip#md5=38cabbd2c742160757f77e87dd23b7d4 (from https://pypi.python.org/simple/irc/), version: 3.6 Found link https://pypi.python.org/packages/source/i/irc/irc-4.0.zip#md5=bc0716e1d1efd0c856959c34644a3118 (from https://pypi.python.org/simple/irc/), version: 4.0 Found link https://pypi.python.org/packages/source/i/irc/irc-5.0.1.zip#md5=591c58dd7e5be62f2b73393285b59d22 (from https://pypi.python.org/simple/irc/), version: 5.0.1 Found link https://pypi.python.org/packages/source/i/irc/irc-5.0.zip#md5=b9672074f7975a573184f29ef86855f9 (from https://pypi.python.org/simple/irc/), version: 5.0 Found link https://pypi.python.org/packages/source/i/irc/irc-5.1.1.zip#md5=a99ee320e5dda9c2ee2c03b2b327cef2 (from https://pypi.python.org/simple/irc/), version: 5.1.1 Found link https://pypi.python.org/packages/source/i/irc/irc-5.1.zip#md5=fa9d45845c3d42efd9f3297c5cf6a6dc (from https://pypi.python.org/simple/irc/), version: 5.1 Found link https://pypi.python.org/packages/source/i/irc/irc-6.0.1.zip#md5=d3f5fef5e8c0c528bf428fb34dd572aa (from https://pypi.python.org/simple/irc/), version: 6.0.1 Found link https://pypi.python.org/packages/source/i/irc/irc-6.0.zip#md5=97fc44ad951ddd57bf3bcd3cf80f305e (from https://pypi.python.org/simple/irc/), version: 6.0 Found link https://pypi.python.org/packages/source/i/irc/irc-7.0.zip#md5=da6bc0c4aae5b9fa478d9c436092b7e9 (from https://pypi.python.org/simple/irc/), version: 7.0 Found link https://pypi.python.org/packages/source/i/irc/irc-7.1.1.zip#md5=fa0038ea47659a2068210ffb6182d1f8 (from https://pypi.python.org/simple/irc/), version: 7.1.1 Found link https://pypi.python.org/packages/source/i/irc/irc-7.1.2.zip#md5=1d8b7da1deed84f15f78283dbf7e763a (from https://pypi.python.org/simple/irc/), version: 7.1.2 Found link https://pypi.python.org/packages/source/i/irc/irc-7.1.zip#md5=dd439ac35feb1d4dc17f41ec8c6646b9 (from https://pypi.python.org/simple/irc/), version: 7.1 Found link https://pypi.python.org/packages/source/i/irc/irc-8.0.1.zip#md5=0d4073d11845cac2d9eef60505f3c5fc (from https://pypi.python.org/simple/irc/), version: 8.0.1 Found link https://pypi.python.org/packages/source/i/irc/irc-8.0.zip#md5=b66f0e18ef9daf365cc9404649c54751 (from https://pypi.python.org/simple/irc/), version: 8.0 Found link https://pypi.python.org/packages/source/i/irc/irc-8.1.1.zip#md5=18cf8fa9c89cdcde0e92bffd63766440 (from https://pypi.python.org/simple/irc/), version: 8.1.1 Found link https://pypi.python.org/packages/source/i/irc/irc-8.1.2.zip#md5=1ece287752d8ddac6ffe0c644ccc05d2 (from https://pypi.python.org/simple/irc/), version: 8.1.2 Found link https://pypi.python.org/packages/source/i/irc/irc-8.1.zip#md5=b30ebefde200a21a6357bad871eb835e (from https://pypi.python.org/simple/irc/), version: 8.1 Found link https://pypi.python.org/packages/source/i/irc/irc-8.2.zip#md5=04e4f57ffca1565dfa9c5cd7e5fd3eef (from https://pypi.python.org/simple/irc/), version: 8.2 Found link https://pypi.python.org/packages/source/i/irc/irc-8.3.1.zip#md5=885b23a85fe1f5a785cb214f3cc05e74 (from https://pypi.python.org/simple/irc/), version: 8.3.1 Found link https://pypi.python.org/packages/source/i/irc/irc-8.3.2.zip#md5=1c17abd2936d24bb97371850585d99b7 (from https://pypi.python.org/simple/irc/), version: 8.3.2 Found link https://pypi.python.org/packages/source/i/irc/irc-8.3.zip#md5=27664b72f9caaa5e44fca4a3020184a1 (from https://pypi.python.org/simple/irc/), version: 8.3 Found link https://pypi.python.org/packages/source/i/irc/irc-8.4.zip#md5=f8988387770cb0d3c74178f7747f1e24 (from https://pypi.python.org/simple/irc/), version: 8.4 Found link https://pypi.python.org/packages/source/i/irc/irc-8.5.1.zip#md5=6588ecc709df2220d0a4474c71b4e434 (from https://pypi.python.org/simple/irc/), version: 8.5.1 Found link https://pypi.python.org/packages/source/i/irc/irc-8.5.2.zip#md5=976b23c243ee361e83ee6101a91c290e (from https://pypi.python.org/simple/irc/), version: 8.5.2 Found link https://pypi.python.org/packages/source/i/irc/irc-8.5.3.zip#md5=33b8b8dd19ff0243cd2709595f4d466e (from https://pypi.python.org/simple/irc/), version: 8.5.3 Found link https://pypi.python.org/packages/source/i/irc/irc-8.5.4.zip#md5=5d9456d8861ef409252a6184adba2617 (from https://pypi.python.org/simple/irc/), version: 8.5.4 Found link https://pypi.python.org/packages/source/i/irc/irc-8.5.zip#md5=4bbff33bf390432faf333bb27dbc106c (from https://pypi.python.org/simple/irc/), version: 8.5 Skipping link http://bitbucket.org/jaraco/irc (from https://pypi.python.org/simple/irc/); not a file Skipping link http://python-irclib.sourceforge.net (from https://pypi.python.org/simple/irc/); not a file Skipping link http://sourceforge.net/project/showfiles.php?group_id=38297 (from https://pypi.python.org/simple/irc/); unknown archive format: .php Skipping link http://sourceforge.net/projects/python-irclib/ (from https://pypi.python.org/simple/irc/); not a file Skipping link http://travis-ci.org/jaraco/irc (from https://pypi.python.org/simple/irc/); not a file Skipping link http://www.irchelp.org/irchelp/rfc/ (from https://pypi.python.org/simple/irc/); not a file Skipping link https://travis-ci.org/#%21/jaraco/irc (from https://pypi.python.org/simple/irc/); not a file Skipping link mailto:jaraco@jaraco.com (from https://pypi.python.org/simple/irc/); unknown archive format: .com Skipping link mailto:joel@rosdahl.net (from https://pypi.python.org/simple/irc/); unknown archive format: .net Ignoring link https://pypi.python.org/packages/source/i/irc/irc-0.7b1.zip#md5=d7712d63c293d93f6f4f67391013ec18 (from https://pypi.python.org/simple/irc/), version 0.7b1 is a pre-release (use --pre to allow). Ignoring link https://pypi.python.org/packages/source/i/irc/irc-0.7b2.zip#md5=adc2b7de679dbf405a0b346dad84b780 (from https://pypi.python.org/simple/irc/), version 0.7b2 is a pre-release (use --pre to allow). Ignoring link https://pypi.python.org/packages/source/i/irc/irc-0.7b3.zip#md5=6b02c70a58ace86ebc69bf8965e90f18 (from https://pypi.python.org/simple/irc/), version 0.7b3 is a pre-release (use --pre to allow). Ignoring link https://pypi.python.org/packages/source/i/irc/irc-0.7b4.zip#md5=66823c038f55584c2e8d828fa7385096 (from https://pypi.python.org/simple/irc/), version 0.7b4 is a pre-release (use --pre to allow). Ignoring link https://pypi.python.org/packages/source/i/irc/irc-0.7b5.zip#md5=bc3cc93458f51a09c9df76c481f6fa89 (from https://pypi.python.org/simple/irc/), version 0.7b5 is a pre-release (use --pre to allow). Ignoring link https://pypi.python.org/packages/source/i/irc/irc-0.7b6.zip#md5=a406ef71825ddb6d4b820f2670c44c84 (from https://pypi.python.org/simple/irc/), version 0.7b6 is a pre-release (use --pre to allow). Ignoring link https://pypi.python.org/packages/source/i/irc/irc-3.0.2dev.zip#md5=279aca1e47fd8f79e2b6a9b204fc7f71 (from https://pypi.python.org/simple/irc/), version 3.0.2dev is a pre-release (use --pre to allow). Using version 8.5.4 (newest of versions: 8.5.4, 8.5.3, 8.5.2, 8.5.1, 8.5, 8.4, 8.3.2, 8.3.1, 8.3, 8.2, 8.1.2, 8.1.1, 8.1, 8.0.1, 8.0, 7.1.2, 7.1.1, 7.1, 7.0, 6.0.1, 6.0, 5.1.1, 5.1, 5.0.1, 5.0, 4.0, 3.6.1, 3.6, 3.5, 3.4.2, 3.4.1, 3.4, 3.3, 3.2.3, 3.2.2, 3.2.1, 3.2, 3.1.1, 3.1, 3.0.1, 3.0, 2.0.4, 2.0.3, 2.0.2, 2.0.1, 2.0, 1.1, 1.0, 0.9, 0.8, 0.7.1, 0.7) Downloading from URL https://pypi.python.org/packages/source/i/irc/irc-8.5.4.zip#md5=5d9456d8861ef409252a6184adba2617 (from https://pypi.python.org/simple/irc/) Running setup.py egg_info for package irc
Traceback (most recent call last):
setuptools.sandbox.SandboxViolation: SandboxViolation: open('C:\Python33\lib\lib2to3\Grammar3.3.2.final.0.pickle', 'wb') {}
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.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
SystemExit: error: SandboxViolation: open('C:\Python33\lib\lib2to3\Grammar3.3.2.final.0.pickle', 'wb') {}
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.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
distutils.errors.DistutilsError: Setup script exited with error: SandboxViolation: open('C:\Python33\lib\lib2to3\Grammar3.3.2.final.0.pickle', 'wb') {}
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.
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "C:\Python33\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python33\lib\distutils\dist.py", line 929, in run_commands
self.run_command(cmd)
File "C:\Python33\lib\distutils\dist.py", line 948, in run_command
cmd_obj.run()
File "C:\Python33\lib\site-packages\setuptools\command\bdist_egg.py", line 177, in run
self.run_command("egg_info")
File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python33\lib\distutils\dist.py", line 948, in run_command
cmd_obj.run()
File "", line 14, in replacement_run
File "C:\Python33\lib\site-packages\setuptools\command\egg_info.py", line 230, in find_sources
mm.run()
File "C:\Python33\lib\site-packages\setuptools\command\egg_info.py", line 296, in run
self.add_defaults()
File "C:\Python33\lib\site-packages\setuptools\command\egg_info.py", line 332, in add_defaults
sdist.add_defaults(self)
File "C:\Python33\lib\site-packages\setuptools\command\sdist.py", line 161, in add_defaults
build_py = self.get_finalized_command('build_py')
File "C:\Python33\lib\distutils\cmd.py", line 298, in get_finalized_command
cmd_obj = self.distribution.get_command_obj(command, create)
File "C:\Python33\lib\distutils\dist.py", line 820, in get_command_obj
klass = self.get_command_class(command)
File "C:\Python33\lib\site-packages\setuptools\dist.py", line 363, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "C:\Python33\lib\site-packages\pkg_resources.py", line 2108, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "C:\Python33\lib\site-packages\setuptools\command\build_py.py", line 10, in
from lib2to3.refactor import RefactoringTool, get_fixers_from_package
File "C:\Python33\lib\lib2to3\refactor.py", line 27, in
from .fixer_util import find_root
File "C:\Python33\lib\lib2to3\fixer_util.py", line 9, in
from .pygram import python_symbols as syms
File "C:\Python33\lib\lib2to3\pygram.py", line 32, in
python_grammar = driver.load_grammar(_GRAMMAR_FILE)
File "C:\Python33\lib\lib2to3\pgen2\driver.py", line 125, in load_grammar
g.dump(gp)
File "C:\Python33\lib\lib2to3\pgen2\grammar.py", line 89, in dump
f = open(filename, "wb")
File "C:\Python33\lib\site-packages\setuptools\sandbox.py", line 240, in _open
self._violation("open", path, mode, _args, *_kw)
File "C:\Python33\lib\site-packages\setuptools\sandbox.py", line 230, in _violation
raise SandboxViolation(operation, args, kw)
setuptools.sandbox.SandboxViolation: SandboxViolation: open('C:\Python33\lib\lib2to3\Grammar3.3.2.final.0.pickle', 'wb') {}
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.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python33\lib\site-packages\setuptools\command\easy_install.py", line 1016, in run_setup
File "C:\Python33\lib\site-packages\setuptools\sandbox.py", line 69, in run_setup
File "C:\Python33\lib\site-packages\setuptools\sandbox.py", line 120, in run
File "C:\Python33\lib\site-packages\setuptools\sandbox.py", line 71, in
File "C:\Python33\lib\site-packages\setuptools\compat.py", line 94, in execfile
File "setup.py", line 55, in
File "C:\Python33\lib\distutils\core.py", line 165, in setup
SystemExit: error: SandboxViolation: open('C:\Python33\lib\lib2to3\Grammar3.3.2.final.0.pickle', 'wb') {}
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.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 16, in
File "c:\users\tom\appdata\local\temp\pip_build_Tom\irc\setup.py", line 48, in
File "C:\Python33\lib\distutils\core.py", line 109, in setup
File "C:\Python33\lib\site-packages\setuptools\dist.py", line 239, in init
File "C:\Python33\lib\site-packages\setuptools\dist.py", line 263, in fetch_build_eggs
File "C:\Python33\lib\site-packages\pkg_resources.py", line 568, in resolve
File "C:\Python33\lib\site-packages\pkg_resources.py", line 806, in best_match
File "C:\Python33\lib\site-packages\pkg_resources.py", line 818, in obtain
File "C:\Python33\lib\site-packages\setuptools\dist.py", line 313, in fetch_build_egg
File "C:\Python33\lib\site-packages\setuptools\command\easy_install.py", line 609, in easy_install
File "C:\Python33\lib\site-packages\setuptools\command\easy_install.py", line 639, in install_item
File "C:\Python33\lib\site-packages\setuptools\command\easy_install.py", line 825, in install_eggs
File "C:\Python33\lib\site-packages\setuptools\command\easy_install.py", line 1031, in build_and_install
File "C:\Python33\lib\site-packages\setuptools\command\easy_install.py", line 1016, in run_setup
File "C:\Python33\lib\site-packages\setuptools\sandbox.py", line 69, in run_setup
File "C:\Python33\lib\site-packages\setuptools\sandbox.py", line 120, in run
File "C:\Python33\lib\site-packages\setuptools\sandbox.py", line 71, in
File "C:\Python33\lib\site-packages\setuptools\compat.py", line 94, in execfile
File "setup.py", line 30, in
File "C:\Python33\lib\distutils\core.py", line 109, in setup
File "C:\Python33\lib\site-packages\setuptools\dist.py", line 239, in init
File "C:\Python33\lib\site-packages\setuptools\dist.py", line 263, in fetch_build_eggs
File "C:\Python33\lib\site-packages\pkg_resources.py", line 568, in resolve
File "C:\Python33\lib\site-packages\pkg_resources.py", line 806, in best_match
File "C:\Python33\lib\site-packages\pkg_resources.py", line 818, in obtain
File "C:\Python33\lib\site-packages\setuptools\dist.py", line 313, in fetch_build_egg
File "C:\Python33\lib\site-packages\setuptools\command\easy_install.py", line 609, in easy_install
File "C:\Python33\lib\site-packages\setuptools\command\easy_install.py", line 639, in install_item
File "C:\Python33\lib\site-packages\setuptools\command\easy_install.py", line 825, in install_eggs
File "C:\Python33\lib\site-packages\setuptools\command\easy_install.py", line 1031, in build_and_install
File "C:\Python33\lib\site-packages\setuptools\command\easy_install.py", line 1019, in run_setup
distutils.errors.DistutilsError: Setup script exited with error: SandboxViolation: open('C:\Python33\lib\lib2to3\Grammar3.3.2.final.0.pickle', 'wb') {}
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.
Cleaning up...
Removing temporary dir c:\users\tom\appdata\local\temp\pip_build_Tom... Command python setup.py egg_info failed with error code 1 in c:\users\tom\appdata\local\temp\pip_build_Tom\irc
Exception information: Traceback (most recent call last): File "C:\Python33\lib\site-packages\pip\basecommand.py", line 134, in main status = self.run(options, args) File "C:\Python33\lib\site-packages\pip\commands\install.py", line 236, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "C:\Python33\lib\site-packages\pip\req.py", line 1134, in prepare_files req_to_install.run_egg_info() File "C:\Python33\lib\site-packages\pip\req.py", line 259, in run_egg_info command_desc='python setup.py egg_info') File "C:\Python33\lib\site-packages\pip\util.py", line 670, in call_subprocess % (command_desc, proc.returncode, cwd)) pip.exceptions.InstallationError: Command python setup.py egg_info failed with error code 1 in c:\users\tom\appdata\local\temp\pip_build_Tom\irc