[IPython-User] update just ipython within an enthought python distribution on mac

Jonathan March jmarch@enthought....
Fri Aug 10 06:58:50 CDT 2012


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.)

That is a misleading error message, since fixed in master but not yet in
repo. Sorry!

On Thu, Aug 9, 2012 at 11:46 PM, Fernando Perez <fperez.net@gmail.com>wrote:

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


More information about the IPython-User mailing list