Unzipping the egg file and then placing the "enchant" directory on my
import path seems to be working.
Installing the egg with easy_install gave me this error:
$ easy_install ~/Downloads/pyenchant-1.6.5-py2.7-macosx-10.4-
universal.egg
install_dir /Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/
lib/python2.7/site-packages/
Processing pyenchant-1.6.5-py2.7-macosx-10.4-universal.egg
creating /Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/
lib/python2.7/site-packages/pyenchant-1.6.5-py2.7-macosx-10.4-
universal.egg
Extracting pyenchant-1.6.5-py2.7-macosx-10.4-universal.egg to /Users/
dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/python2.7/site-
packages
Adding pyenchant 1.6.5 to easy-install.pth file
Installed /Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/
lib/python2.7/site-packages/pyenchant-1.6.5-py2.7-macosx-10.4-
universal.egg
Processing dependencies for pyenchant==1.6.5
Searching for pyenchant==1.6.5
Reading
http://pypi.python.org/simple/pyenchant/
Reading
http://www.rfk.id.au/software/pyenchant/
Reading
http://pyenchant.sourceforge.net/
Best match: pyenchant 1.6.5
Downloading
http://pypi.python.org/packages/source/p/pyenchant/pyenchant-1.6.5.tar.gz#md5=565014a14a52fb0195d152dd492ea948
Processing pyenchant-1.6.5.tar.gz
Running pyenchant-1.6.5/setup.py -q bdist_egg --dist-dir /var/folders/
9R/9R1t+tR02Raxzk+F71Q50U+++Uw/-Tmp-/easy_install-MlvsFw/
pyenchant-1.6.5/egg-dist-tmp-5Fk2_s
Traceback (most recent call last):
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/bin/
easy_install", line 9, in <module>
load_entry_point('distribute==0.6.14', 'console_scripts',
'easy_install')()
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/
easy_install.py", line 1855, in main
with_ei_usage(lambda:
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/
easy_install.py", line 1836, in with_ei_usage
return f()
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/
easy_install.py", line 1859, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/
easy_install.py", line 342, in run
self.easy_install(spec, not self.no_deps)
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/
easy_install.py", line 562, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/
easy_install.py", line 614, in install_item
self.process_distribution(spec, dist, deps)
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/
easy_install.py", line 666, in process_distribution
[requirement], self.local_index, self.easy_install
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py",
line 544, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py",
line 786, in best_match
return self.obtain(req, installer) # try and download/install
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py",
line 798, in obtain
return installer(requirement)
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/
easy_install.py", line 582, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/
easy_install.py", line 612, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/
easy_install.py", line 802, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/
easy_install.py", line 1079, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/
easy_install.py", line 1068, in run_setup
run_setup(setup_script, args)
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/
sandbox.py", line 29, in run_setup
lambda: execfile(
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/
sandbox.py", line 70, in run
return func()
File "/Users/dhellmann/Envs/8484837d-8d3b-4414-ac0b-6d7bfa64b251/lib/
python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/
sandbox.py", line 31, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 195, in <module>
'user_scripts =
virtualenvwrapper.user_scripts:post_activate_source',
File "/var/folders/9R/9R1t+tR02Raxzk+F71Q50U+++Uw/-Tmp-/easy_install-
MlvsFw/pyenchant-1.6.5/enchant/__init__.py", line 90, in <module>
File "/var/folders/9R/9R1t+tR02Raxzk+F71Q50U+++Uw/-Tmp-/easy_install-
MlvsFw/pyenchant-1.6.5/enchant/_enchant.py", line 133, in <module>
ImportError: enchant C library not found
I don't know why it would be trying to download the source for
PyEnchant if the egg is right there. Maybe I am using the wrong
incantation of easy_install?
Doug