<div>It&#39;s a permissions failure. The command (and most other enpkg commands on Mac) should be sudo&#39;d (or chown the Python2.7 sub-tree, though I haven&#39;t tried that myself.)</div><div><br></div>That is a misleading error message, since fixed in master but not yet in repo. Sorry! <div>

<br><div class="gmail_quote">On Thu, Aug 9, 2012 at 11:46 PM, Fernando Perez <span dir="ltr">&lt;<a href="mailto:fperez.net@gmail.com" target="_blank">fperez.net@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Jonathan,<br>
<div class="im"><br>
On Tue, Aug 7, 2012 at 9:07 AM, Jonathan March &lt;<a href="mailto:jmarch@enthought.com">jmarch@enthought.com</a>&gt; wrote:<br>
&gt;<br>
&gt; $ enpkg enstaller (just to be sure that your epd installation machinery is<br>
&gt; up to date)<br>
&gt; $ enpkg ipython<br>
<br>
</div>quick question: just now Josh Bloom (whom you&#39;ll remember from<br>
Scipy&#39;12) was trying this very command at my urging, as we want to<br>
update our students for the upcoming python bootcamp at Berkeley<br>
(<a href="http://register.pythonbootcamp.info" target="_blank">http://register.pythonbootcamp.info</a>), but he got this nasty<br>
traceback:<br>
<br>
[21:42:37] Joshua Bloom: Py4Science&gt; enpkg enstaller<br>
prefix: /Library/Frameworks/EPD64.framework/Versions/7.3<br>
Traceback (most recent call last):<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/Current/bin/enpkg&quot;,<br>
line 10, in &lt;module&gt;<br>
    sys.exit(main())<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/main.py&quot;,<br>
line 446, in main<br>
    install_req(enpkg, req, args)             # install (default)<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/main.py&quot;,<br>
line 191, in install_req<br>
    force=opts.force, forceall=opts.forceall)<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/enpkg.py&quot;,<br>
line 235, in install_actions<br>
    self._connect()<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/enpkg.py&quot;,<br>
line 118, in _connect<br>
    self.remote.connect(self.userpass)<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/store/indexed.py&quot;,<br>
line 17, in connect<br>
    self._index = self.get_index()<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/store/indexed.py&quot;,<br>
line 100, in get_index<br>
    fp = self.get_data(&#39;index.json?pypi=true&#39;)<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/store/indexed.py&quot;,<br>
line 124, in get_data<br>
    return self.opener.open(request)<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py&quot;,<br>
line 406, in open<br>
    response = meth(req, response)<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py&quot;,<br>
line 519, in http_response<br>
    &#39;http&#39;, request, response, code, msg, hdrs)<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py&quot;,<br>
line 438, in error<br>
    result = self._call_chain(*args)<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py&quot;,<br>
line 378, in _call_chain<br>
    result = func(*args)<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py&quot;,<br>
line 625, in http_error_302<br>
    return self.parent.open(new, timeout=req.timeout)<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py&quot;,<br>
line 406, in open<br>
    response = meth(req, response)<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/store/cached.py&quot;,<br>
line 88, in http_response<br>
    self.fill_cache(etag, response.read())<br>
  File &quot;/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/store/cached.py&quot;,<br>
line 57, in fill_cache<br>
    open(self._index_path, &#39;wb&#39;).write(content)<br>
IOError: [Errno 2] No such file or directory:<br>
&#39;/Library/Frameworks/EPD64.framework/Versions/7.3/LOCAL-REPO/index_cache/index.json&#39;<br>
<br>
<br>
This is with an EPD downloaded 2 days ago. Any thoughts on what we&#39;re<br>
doing wrong?<br>
<br>
Thanks,<br>
<div class="HOEnZb"><div class="h5"><br>
f<br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</div></div></blockquote></div><br></div>