Orange Forum • View topic - pkg_resources.DistributionNotFound: Orange==2.6.1

pkg_resources.DistributionNotFound: Orange==2.6.1

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

pkg_resources.DistributionNotFound: Orange==2.6.1

Postby nacnudus » Sun Mar 10, 2013 11:07

Hi

I'm trying to install on Linux Mint 13, via the Debian archives, according to this post: http://manojbits.wordpress.com/2012/09/25/installing-orange-in-ubuntu-12-04/

Code: Select all
sudo apt-get install orange-canvas


seemed to work, but when I enter

Code: Select all
orange-canvas


it responds

Code: Select all
Traceback (most recent call last):
  File "/usr/local/bin/orange-canvas", line 4, in <module>
    from pkg_resources import require; require('Orange==2.6.1')
  File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.26-py2.7.egg/pkg_resources.py", line 2711, in <module>
    working_set.require(__requires__)
  File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.26-py2.7.egg/pkg_resources.py", line 690, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.26-py2.7.egg/pkg_resources.py", line 588, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Orange==2.6.1


Oddly, the python scripting tutorials work, e.g.
python
>>> import Orange
etc., though Orange.version.version doesn't work.

Help much appreciated,

Regards,
Duncan

Re: pkg_resources.DistributionNotFound: Orange==2.6.1

Postby Ales » Mon Mar 11, 2013 10:56

The debian archives are obsolete, they have not been updated for about a year. I recommend you try installing the latest distribution from source.

nacnudus wrote:
Code: Select all
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Orange==2.6.1



Did you by any chance also try to install from source. This 'orange-canvas' script seems to be from a more recent version of orange then the one in the debian repository.


Return to Questions & Support



cron