Orange Forum • View topic - unsatisfied dependencies in Ubuntu 12.04 install

unsatisfied dependencies in Ubuntu 12.04 install

A place to ask questions about methods in Orange and how they are used and other general support.

unsatisfied dependencies in Ubuntu 12.04 install

Postby jsperhac » Tue Aug 27, 2013 15:28

I have installed the nightly build of Orange, downloaded 23 August 2013, on Ubuntu 12.04 (32-bit, 3.2.0-52-generic-pae) and am having difficulties running orange-canvas.

I used apt-get to install the following packages:
python-dev
python-scipy
python-numpy
python-qt4
python-matplotlib
python-imaging (PIL)
python-qwt5-qt4
python-qt4-gl

I ran the build and install:
$ python setup.py build
$ sudo python setup.py install

Attempting to run orange-canvas, or invoking Orange.OrangeCanvas.main, gives the following error:

$ python -m Orange.OrangeCanvas.main
ERROR:Orange.OrangeCanvas.registry.discovery:Could not load 'Orange Widgets = Orange.OrangeWidgets' (unsatisfied dependencies).
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Orange/OrangeCanvas/registry/discovery.py", line 88, in run
point = entry_point.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1988, in load
if require: self.require(env, installer)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2001, in require
working_set.resolve(self.dist.requires(self.extras),env,installer))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
DistributionNotFound: distribute

A screen is displayed as follows:
Image

Can you help me locate the needed dependency?

Regards
J

Re: unsatisfied dependencies in Ubuntu 12.04 install

Postby jsperhac » Wed Aug 28, 2013 13:48

The missing dependency appears to be the python-setuptools, installation of which also provides python-distribute. Install with apt-get and then you can invoke orange-canvas, display the "Welcome to Orange Data Mining" screen, etc.

Thanks for this product--I'm looking forward to exploring it.


Return to Questions & Support