eteq/astropysics — Issue #2: Failure trying to load ipyastpys
Author: keflavich
Created: 2011-10-13 03:14:26+00:00
State: open

When I try to load ipyastpys, I get the following error:
ImportError: Entry point ('console_scripts', 'ipython') not found
if I use ipython 0.11 or 0.12.

I'm not sure, but I think it may be related to the default location ipython >=0.11 looks in: it should be ~/.ipython/profile_default/ or similar, not ~/.ipython/

Here's the full traceback:
$ /Library/Frameworks/Python.framework/Versions/2.6/bin/ipyastpys
/Users/adam/repos/ets/etsproxy/enthought/__init__.py:7: DeprecationWarning: enthought namespace imports are deprecated
DeprecationWarning)
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/bin/ipyastpys", line 5, in
pkg_resources.run_script('Astropysics==0.1.dev-r1117', 'ipyastpys')
File "build/bdist.macosx-10.6-i386/egg/pkg_resources.py", line 489, in run_script
if insert:
File "build/bdist.macosx-10.6-i386/egg/pkg_resources.py", line 1207, in run_script

File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Astropysics-0.1.dev_r1117-py2.6.egg/EGG-INFO/scripts/ipyastpys", line 139, in
sys.exit(load_entry_point('ipython', 'console_scripts', 'ipython')())
File "build/bdist.macosx-10.6-i386/egg/pkg_resources.py", line 318, in load_entry_point
def get_metadata_lines(name):
File "build/bdist.macosx-10.6-i386/egg/pkg_resources.py", line 2220, in load_entry_point
def as_requirement(self):
ImportError: Entry point ('console_scripts', 'ipython') not found