<div>It's a permissions failure. The command (and most other enpkg commands on Mac) should be sudo'd (or chown the Python2.7 sub-tree, though I haven'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"><<a href="mailto:fperez.net@gmail.com" target="_blank">fperez.net@gmail.com</a>></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 <<a href="mailto:jmarch@enthought.com">jmarch@enthought.com</a>> wrote:<br>
><br>
> $ enpkg enstaller (just to be sure that your epd installation machinery is<br>
> up to date)<br>
> $ enpkg ipython<br>
<br>
</div>quick question: just now Josh Bloom (whom you'll remember from<br>
Scipy'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> enpkg enstaller<br>
prefix: /Library/Frameworks/EPD64.framework/Versions/7.3<br>
Traceback (most recent call last):<br>
File "/Library/Frameworks/EPD64.framework/Versions/Current/bin/enpkg",<br>
line 10, in <module><br>
sys.exit(main())<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/main.py",<br>
line 446, in main<br>
install_req(enpkg, req, args) # install (default)<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/main.py",<br>
line 191, in install_req<br>
force=opts.force, forceall=opts.forceall)<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/enpkg.py",<br>
line 235, in install_actions<br>
self._connect()<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/enpkg.py",<br>
line 118, in _connect<br>
self.remote.connect(self.userpass)<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/store/indexed.py",<br>
line 17, in connect<br>
self._index = self.get_index()<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/store/indexed.py",<br>
line 100, in get_index<br>
fp = self.get_data('index.json?pypi=true')<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/store/indexed.py",<br>
line 124, in get_data<br>
return self.opener.open(request)<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py",<br>
line 406, in open<br>
response = meth(req, response)<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py",<br>
line 519, in http_response<br>
'http', request, response, code, msg, hdrs)<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py",<br>
line 438, in error<br>
result = self._call_chain(*args)<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py",<br>
line 378, in _call_chain<br>
result = func(*args)<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py",<br>
line 625, in http_error_302<br>
return self.parent.open(new, timeout=req.timeout)<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py",<br>
line 406, in open<br>
response = meth(req, response)<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/store/cached.py",<br>
line 88, in http_response<br>
self.fill_cache(etag, response.read())<br>
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/enstaller/store/cached.py",<br>
line 57, in fill_cache<br>
open(self._index_path, 'wb').write(content)<br>
IOError: [Errno 2] No such file or directory:<br>
'/Library/Frameworks/EPD64.framework/Versions/7.3/LOCAL-REPO/index_cache/index.json'<br>
<br>
<br>
This is with an EPD downloaded 2 days ago. Any thoughts on what we'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>