halgari/clojure-py — Issue #36: Install error on 64-bit Lion
Author: halgari
Created: 2012-03-08 12:02:45+00:00
State: open

I'm assigning this to eigenhombre since I think you have access to a Mac to test this on? I've seen this error once in linux before, so I'm going to try it there as well.

From Clojure mailinglist:

Congrat's on the release! I am getting the following error on my
Macbook (running 64-bit Lion, Python 2.7.1) when trying to run "sudo
easy_install clojure-py":

Searching for clojure-py
Reading http://pypi.python.org/simple/clojure-py/
Reading https://github.com/halgari/clojure-py
Best match: clojure-py 0.1.0
Downloading http://pypi.python.org/packages/source/c/clojure_py/clojure_py-0.1.0.tar.gz#md5=794da1e8031e2d4f3fbc6484ed51c172
Processing clojure_py-0.1.0.tar.gz
Running clojure_py-0.1.0/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-feUpDQ/clojure_py-0.1.0/egg-dist-tmp-78bqof
Traceback (most recent call last):
File "/usr/bin/easy_install-2.7", line 10, in
load_entry_point('setuptools==0.6c12dev-r85381',
'console_scripts', 'easy_install')()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/
Extras/lib/python/setuptools/command/easy_install.py", line 1712, in
main
with_ei_usage(lambda:
File "/System/Library/Frameworks/Python.framework/Versions/2.7/
Extras/lib/python/setuptools/command/easy_install.py", line 1700, in
with_ei_usage
return f()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/
Extras/lib/python/setuptools/command/easy_install.py", line 1716, in

distclass=DistributionWithoutHelpCommands, **kw
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/
Extras/lib/python/setuptools/command/easy_install.py", line 211, in
run
self.easy_install(spec, not self.no_deps)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/
Extras/lib/python/setuptools/command/easy_install.py", line 446, in
easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/
Extras/lib/python/setuptools/command/easy_install.py", line 476, in
install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/
Extras/lib/python/setuptools/command/easy_install.py", line 655, in
install_eggs
return self.build_and_install(setup_script, setup_base)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/
Extras/lib/python/setuptools/command/easy_install.py", line 930, in
build_and_install
self.run_setup(setup_script, setup_base, args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/
Extras/lib/python/setuptools/command/easy_install.py", line 919, in
run_setup
run_setup(setup_script, args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/
Extras/lib/python/setuptools/sandbox.py", line 62, in run_setup
lambda: execfile(
File "/System/Library/Frameworks/Python.framework/Versions/2.7/
Extras/lib/python/setuptools/sandbox.py", line 105, in run
return func()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/
Extras/lib/python/setuptools/sandbox.py", line 64, in
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 10, in
File "/tmp/easy_install-feUpDQ/clojure_py-0.1.0/clojure/
__init__.py", line 2, in
File "/tmp/easy_install-feUpDQ/clojure_py-0.1.0/clojure/main.py",
line 104, in
File "/tmp/easy_install-feUpDQ/clojure_py-0.1.0/clojure/main.py",
line 48, in import_hook
ImportError: module clojure.core not found, looked in ['.', '/tmp/
easy_install-feUpDQ/clojure_py-0.1.0', '/usr/bin', '/Library/Python/
2.7/site-packages/mercurial-2.0-py2.7-macosx-10.7-intel.egg', '/
Library/Python/2.7/site-packages/hg_git-0.3.2-py2.7.egg', '/Library/
Python/2.7/site-packages/dulwich-0.8.3-py2.7-macosx-10.7-intel.egg', '/
Library/Python/2.7/site-packages/Pygments-1.4-py2.7.egg', '/System/
Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/
System/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/
lib/python2.7/plat-darwin', '/System/Library/Frameworks/
Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/
Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-
mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/
Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/
Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/
Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/
System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/
2.7/Extras/lib/python/PyObjC', '/Library/Python/2.7/site-packages', '/
tmp/easy_install-feUpDQ/clojure_py-0.1.0/clojure']