Results 1 to 4 of 4

Thread: Can't launch Spyder,IDE for Python

  1. #1
    Join Date
    Sep 2008
    Location
    Vienna, Austria
    Beans
    166
    Distro
    Ubuntu 14.04 Trusty Tahr

    Question Can't launch Spyder,IDE for Python

    Hi, I have been using spyder for Python. After upgrading from 10.10 to 11.04, I am not able to use this. On launch it gives me this output in terminal.

    ~$ spyder
    Traceback (most recent call last):
    File "/usr/local/bin/spyder", line 4, in <module>
    import pkg_resources
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2671, in <module>
    working_set.require(__requires__)
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
    pkg_resources.DistributionNotFound: spyder==2.0.12
    What does it mean? and how to make it work again.

    Thank you.
    "Our duty is to encourage every one in his struggle to live up to his own highest idea, and strive at the same time to make the ideal as near as possible to the Truth." -- Swami Vivekanand

  2. #2
    Join Date
    Sep 2008
    Location
    Vienna, Austria
    Beans
    166
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Can't launch Spyder,IDE for Python

    I am still looking for an answer to this.

    Thank you
    "Our duty is to encourage every one in his struggle to live up to his own highest idea, and strive at the same time to make the ideal as near as possible to the Truth." -- Swami Vivekanand

  3. #3
    Join Date
    Oct 2011
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Can't launch Spyder,IDE for Python

    Eclipse IDE with PyDev plugin provides a similar environment to Spyder - might be interested in trying that.

  4. #4
    Join Date
    Apr 2006
    Beans
    6

    Re: Can't launch Spyder,IDE for Python

    Hi Pynalysis,

    Your error is just telling you that, although you have the script /usr/local/bin/spyder that is supposed to actually launch spyder, you seem to miss spyder library in the python path.

    How did you install Spyder?

    Could you give us the result of the following command:
    Code:
    ls /usr/lib/python2.7/dist-packages/
    You should have something (a directory actually) called like:
    "spyder-2.X.X-py2.7.egg"

    If not, then you don't have spyder installed as a regular ubuntu python package. Check this place then:
    Code:
    ls /usr/local/lib/python2.7/dist-packages/
    If you still don't have a spyder version in there, you need to install it.

    A very easy way to do this is:
    Code:
    sudo easy_install spyder
    Good luck!

    PS: if you did install spyder yourself, eg. by compiling it, you may still fix the problem you're having by looking for the place where you actually did install spyder. In that case, you don't need to install it again.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •