Hi.
I'm trying to install imdbpy on my Mac OS X (10.7.5), but even with the
easy_install command I get errors... it seems that there are problems with
the SQLAlchemy distribution...
I post below all the output I've got
Any help ypu could give me will be great!
Thanks,
Elena
____
# sudo easy_install IMDbPY
Searching for IMDbPY
Reading http://pypi.python.org/simple/IMDbPY/
Reading http://imdbpy.sf.net/
Reading http://imdbpy.sf.net/?page=download
Best match: IMDbPY 4.9
Downloading
https://pypi.python.org/packages/source/I/IMDbPY/IMDbPY-4.9.tar.gz#md5=5b071cd63d1804ed568741d2db8d12b5
Processing IMDbPY-4.9.tar.gz
Running IMDbPY-4.9/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-y298eb/IMDbPY-4.9/egg-dist-tmp-3xS7YE
Created locale for: en it tr.
warning: no previously-included files matching '*~' found anywhere in
distribution
no previously-included directories found matching 'CVS'
no previously-included directories found matching '.svn'
no previously-included directories found matching '.hg'
warning: no previously-included files matching 'CVS' found anywhere in
distribution
warning: no previously-included files matching '.svn' found anywhere in
distribution
imdb/parser/sql/cutils.c: In function 'strings_check':
imdb/parser/sql/cutils.c:79: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c:83: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c:92: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c:95: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c: In function 'ratcliff':
imdb/parser/sql/cutils.c:155: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c: In function 'strings_check':
imdb/parser/sql/cutils.c:74: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c:75: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c:79: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c:83: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c:92: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c:95: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c: In function 'ratcliff':
imdb/parser/sql/cutils.c:152: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c:153: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c:155: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c: In function 'pysoundex':
imdb/parser/sql/cutils.c:220: warning: implicit conversion shortens 64-bit
value into a 32-bit value
imdb/parser/sql/cutils.c:232: warning: implicit conversion shortens 64-bit
value into a 32-bit value
Adding IMDbPY 4.9 to easy-install.pth file
Installing get_character.py script to /usr/local/bin
Installing get_company.py script to /usr/local/bin
Installing get_first_character.py script to /usr/local/bin
Installing get_first_company.py script to /usr/local/bin
Installing get_first_movie.py script to /usr/local/bin
Installing get_first_person.py script to /usr/local/bin
Installing get_keyword.py script to /usr/local/bin
Installing get_movie.py script to /usr/local/bin
Installing get_person.py script to /usr/local/bin
Installing get_top_bottom_movies.py script to /usr/local/bin
Installing imdbpy2sql.py script to /usr/local/bin
Installing search_character.py script to /usr/local/bin
Installing search_company.py script to /usr/local/bin
Installing search_keyword.py script to /usr/local/bin
Installing search_movie.py script to /usr/local/bin
Installing search_person.py script to /usr/local/bin
Installed
/Library/Python/2.7/site-packages/IMDbPY-4.9-py2.7-macosx-10.7-intel.egg
Processing dependencies for IMDbPY
Searching for lxml
Reading http://pypi.python.org/simple/lxml/
Best match: lxml 3.3.1
Downloading
https://pypi.python.org/packages/source/l/lxml/lxml-3.3.1.tar.gz#md5=09401c787d9b2660b0d76c4c6baec0f3
Processing lxml-3.3.1.tar.gz
Running lxml-3.3.1/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-FnE7Lg/lxml-3.3.1/egg-dist-tmp-s05ubN
Building lxml version 3.3.1.
Building without Cython.
Using build configuration of libxslt 1.1.28
Building against libxml2/libxslt in the following directory: /opt/local/lib
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:
UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:
UserWarning: Unknown distribution option: 'extra_require'
warnings.warn(msg)
ld: warning: ignoring file /opt/local/lib/libxslt.dylib, file was built for
unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0
0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked
(i386): /opt/local/lib/libxslt.dylib
ld: warning: ignoring file /opt/local/lib/libz.dylib, file was built for
unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0
0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked
(i386): /opt/local/lib/libz.dylib
ld: warning: ignoring file /opt/local/lib/libxml2.dylib, file was built for
unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0
0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked
(i386): /opt/local/lib/libxml2.dylib
ld: warning: ignoring file /opt/local/lib/libexslt.dylib, file was built
for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3
0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being
linked (i386): /opt/local/lib/libexslt.dylib
ld: warning: ignoring file /opt/local/lib/libxslt.dylib, file was built for
unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0
0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked
(i386): /opt/local/lib/libxslt.dylib
ld: warning: ignoring file /opt/local/lib/libexslt.dylib, file was built
for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3
0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being
linked (i386): /opt/local/lib/libexslt.dylib
ld: warning: ignoring file /opt/local/lib/libxml2.dylib, file was built for
unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0
0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked
(i386): /opt/local/lib/libxml2.dylib
ld: warning: ignoring file /opt/local/lib/libz.dylib, file was built for
unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0
0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked
(i386): /opt/local/lib/libz.dylib
Adding lxml 3.3.1 to easy-install.pth file
Installed
/Library/Python/2.7/site-packages/lxml-3.3.1-py2.7-macosx-10.7-intel.egg
Searching for sqlalchemy-migrate
Reading http://pypi.python.org/simple/sqlalchemy-migrate/
Reading http://code.google.com/p/sqlalchemy-migrate/
Reading http://erosson.com/migrate
Reading http://trac.erosson.com/migrate
Reading http://www.openstack.org/
Best match: sqlalchemy-migrate 0.8.2
Downloading
https://pypi.python.org/packages/source/s/sqlalchemy-migrate/sqlalchemy-migrate-0.8.2.tar.gz#md5=04b360fa0f887e47470dcdfb0d7f4e1c
Processing sqlalchemy-migrate-0.8.2.tar.gz
Running sqlalchemy-migrate-0.8.2/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-rwHAjP/sqlalchemy-migrate-0.8.2/egg-dist-tmp-U1kLyb
Searching for pbr
Reading http://pypi.python.org/simple/pbr/
Best match: pbr 0.6
Downloading
https://pypi.python.org/packages/source/p/pbr/pbr-0.6.tar.gz#md5=74ed7d0a9d93c1ab3eb7000e2c0482c7
Processing pbr-0.6.tar.gz
Running pbr-0.6/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-rwHAjP/sqlalchemy-migrate-0.8.2/temp/easy_install-IavzhX/pbr-0.6/egg-dist-tmp-TFbhXx
Installed
/private/tmp/easy_install-rwHAjP/sqlalchemy-migrate-0.8.2/pbr-0.6-py2.7.egg
Searching for pip>=1.0
Reading http://pypi.python.org/simple/pip/
Best match: pip 1.5.2
Downloading
https://pypi.python.org/packages/source/p/pip/pip-1.5.2.tar.gz#md5=5da30919f732d68b1c666e484e7676f5
Processing pip-1.5.2.tar.gz
Running pip-1.5.2/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-rwHAjP/sqlalchemy-migrate-0.8.2/temp/easy_install-RAoqhF/pip-1.5.2/egg-dist-tmp-t8W5sK
warning: no files found matching 'pip/cacert.pem'
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.rst' found under
directory 'docs/_build'
no previously-included directories found matching 'docs/_build/_sources'
Installed
/private/tmp/easy_install-rwHAjP/sqlalchemy-migrate-0.8.2/pip-1.5.2-py2.7.egg
Adding sqlalchemy-migrate 0.8.2 to easy-install.pth file
Installing migrate script to /usr/local/bin
Installing migrate-repository script to /usr/local/bin
Installed
/Library/Python/2.7/site-packages/sqlalchemy_migrate-0.8.2-py2.7.egg
Searching for SQLAlchemy
Reading http://pypi.python.org/simple/SQLAlchemy/
Best match: SQLAlchemy 0.9.2
Downloading
https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.9.2.tar.gz#md5=c36a958e46a8514583be82523785269d
Processing SQLAlchemy-0.9.2.tar.gz
Running SQLAlchemy-0.9.2/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-PB2X3u/SQLAlchemy-0.9.2/egg-dist-tmp-bcQXrV
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:
UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:
UserWarning: Unknown distribution option: 'features'
warnings.warn(msg)
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:
UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
Traceback (most recent call last):
File "/usr/bin/easy_install-2.7", line 10, in <module>
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 <lambda>
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 478, in install_item
self.process_distribution(spec, dist, deps)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
line 519, in process_distribution
[requirement], self.local_index, self.easy_install
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 563, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 799, in best_match
return self.obtain(req, installer) # try and download/install
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 811, in obtain
return installer(requirement)
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 <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 149, in <module>
ERROR
File "setup.py", line 137, in run_setup
#'ext_modules': [cutils],
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 970, in run_command
cmd_obj = self.get_command_obj(command)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 846, in get_command_obj
cmd_obj = self.command_obj[command] = klass(self)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/__init__.py",
line 53, in __init__
_Command.__init__(self,dist)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py",
line 59, in __init__
raise TypeError, "dist must be a Distribution instance"
TypeError: dist must be a Distribution instance
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help