Hello,
humm
I just updated bob using macports and when I tried to run a regular script that imports bob:
Traceback (most recent call last):
File "tests.py", line 1, in <module>
import bob
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/__init__.py", line 15, in <module>
version = __import__('pkg_resources').require('bob')[0].version
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
needed = self.resolve(parse_requirements(requirements))
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: tornado
Importing bob using IPython:
n [1]: import bob
---------------------------------------------------------------------------
DistributionNotFound Traceback (most recent call last)
<ipython-input-1-7326b7cfcb08> in <module>()
----> 1 import bob
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/__init__.py in <module>()
13 from . import trainer
14
---> 15 version = __import__('pkg_resources').require('bob')[0].version
16
17 __all__ = [k for k in dir() if not k.startswith('_')]
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.pyc in require(self, *requirements)
726 included, even if they were already activated in this working set.
727 """
--> 728 needed = self.resolve(parse_requirements(requirements))
729
730 for dist in needed:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.pyc in resolve(self, requirements, env, installer)
624 # unfortunately, zc.buildout uses a str(err)
625 # to get the name of the distribution here..
--> 626 raise DistributionNotFound(req)
627 to_activate.append(dist)
628 if dist not in req:
DistributionNotFound: tornado
I just installed the python tornado on my laptop (mac os) and everything worked fine.