Problem adding altinstalled python3.2

  • Anonymous - 2011-12-21

    Using opensuse 12.1 with eclipse 3.7.1 and pydev 2.3.0 I can add /usr/bin/python3.2 (the system supplied package) as an interpreter with no problems.  However, if I try to do the same with a locally compiled and installed version at /usr/local/bin/python3.2 I see the errors below (taken from log).  Any idea what I am doing wrong?

    java.lang.RuntimeException: Unable to recreate the Interpreter info (Its format changed. Please, re-create your Interpreter information).Contents found:pydoc - the Python documentation tool

    pydoc3 <name> …
        Show text documentation on something.  <name> may be the name of a
        Python keyword, topic, function, module, or package, or a dotted
        reference to a class or function within a module or module in a
        package.  If <name> contains a '/', it is used as the path to a
        Python source file to document. If name is 'keywords', 'topics',
        or 'modules', a listing of these things is displayed.

    pydoc3 -k <keyword>
        Search for a keyword in the synopsis lines of all available modules.

    pydoc3 -p <port>
        Start an HTTP server on the given port on the local machine.  Port
        number 0 can be used to get an arbitrary unused port.

    pydoc3 -b
        Start an HTTP server on an arbitrary unused port and open a Web browser
        to interactively browse documentation.  The -p option can be used with
        the -b option to explicitly specify the server port.

    pydoc3 -g

    pydoc3 -w <name> …
        Write out the HTML documentation for a module to a file in the current
        directory.  If <name> contains a '/', it is treated as a filename; if
        it names a directory, documentation is written for all the contents.

    at org.python.pydev.ui.pythonpathconf.InterpreterInfo.fromString(
    at org.python.pydev.ui.interpreters.AbstractInterpreterManager.createInfoFromOutput(
    at org.python.pydev.ui.interpreters.PythonInterpreterManager.doCreateInterpreterInfo(
    at org.python.pydev.ui.interpreters.PythonInterpreterManager.internalCreateInterpreterInfo(
    at org.python.pydev.ui.interpreters.AbstractInterpreterManager.createInterpreterInfo(
    at org.eclipse.jface.operation.ModalContext$

    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Command-line arguments:  -os linux -ws gtk -arch x86_64 -data /home/andrew/projects/personal/lepl/eclipse-workspace

  • Fabio Zadrozny

    Fabio Zadrozny - 2011-12-21

    Well, what PyDev does is execute the path you passed passing plugins/org.python.pydev/PySrc/ as a parameter - from the output, I'd say the executable you're passing is a link to pydoc3 and not to Python… Can you execute it in the command line:

    /my/path/to/python plugins/org.python.pydev/PySrc/ and see if you have a different output? Also, if you just execute /my/path/to/python in the command line, it should start the python interactive shell… does this happen in your case?




Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks