[Twisted-Python] OSX 10.9 Trial ZipPath issue
![](https://secure.gravatar.com/avatar/b5edb1094c1aa4e8a09ee0640a57f463.jpg?s=120&d=mm&r=g)
Since upgrading to OSX 10.9 I seem to have this issue when running trial (tried it with Twisted 13.0.0, 13.2.0 and 14.0.0): Unexpected error while writing cache file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/twisted/scripts/trial.py", line 472, in postOptions _BasicOptions.postOptions(self) File "/usr/local/lib/python2.7/site-packages/twisted/scripts/trial.py", line 382, in postOptions self['reporter'] = self._loadReporterByName(self['reporter']) File "/usr/local/lib/python2.7/site-packages/twisted/scripts/trial.py", line 369, in _loadReporterByName for p in plugin.getPlugins(itrial.IReporter): File "/usr/local/lib/python2.7/site-packages/twisted/plugin.py", line 209, in getPlugins allDropins = getCache(package) --- <exception caught here> --- File "/usr/local/lib/python2.7/site-packages/twisted/plugin.py", line 181, in getCache dropinPath.setContent(pickle.dumps(dropinDotCache)) The only zip on the path is the pseudo python27.zip. Any ideas? -J
![](https://secure.gravatar.com/avatar/e1554622707bedd9202884900430b838.jpg?s=120&d=mm&r=g)
On Jun 25, 2014, at 3:31 PM, Jason J. W. Williams <jasonjwwilliams@gmail.com> wrote:
It looks like you've installed Twisted in /usr/local/lib, which is not where a Twisted install should ever go on OS X. Either install into a virtualenv or use the system install at /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python. I can't speculate as to how you've mis-installed this particular version of Twisted though :-). -glyph
![](https://secure.gravatar.com/avatar/e1554622707bedd9202884900430b838.jpg?s=120&d=mm&r=g)
On Jun 25, 2014, at 3:31 PM, Jason J. W. Williams <jasonjwwilliams@gmail.com> wrote:
It looks like you've installed Twisted in /usr/local/lib, which is not where a Twisted install should ever go on OS X. Either install into a virtualenv or use the system install at /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python. I can't speculate as to how you've mis-installed this particular version of Twisted though :-). -glyph
participants (3)
-
Glyph Lefkowitz
-
HawkOwl
-
Jason J. W. Williams