pypy seems to have a packaging problem

Bug #254941 reported by gpk
This bug report is a duplicate of:  Bug #867507: [needs-packaging] pypy. Edit Remove
2
Affects Status Importance Assigned to Milestone
pypy (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: pypy-dev

On http://codespeak.net/pypy/dist/pypy/doc/getting-started.html#trying-out-the-type-annotator ,
there are instructions for using pypy, specifically:

> To start the interactive translator shell do:
> cd pypy
> python bin/translatorshell.py

but when I do that, I get the following. It seems that some directory is in the
wrong place, or some search path is set wrong. I experimented a bit with
PYTHONPATH and with adding symbolic links, but I don't yet know enough about
where pypy stores things to fix the problem.

$ cd /usr/share/pypy-1.0/pypy
$ python bin/translatorshell.py
Traceback (most recent call last):
  File "bin/translatorshell.py", line 27, in <module>
    from pypy.translator.interactive import Translation
  File "/usr/share/pypy-1.0/pypy/translator/interactive.py", line 1, in <module>
    from py.compat import optparse
  File "/usr/share/pypy-1.0/pypy/bin/py.py", line 14, in <module>
    from pypy.tool import option
  File "/usr/share/pypy-1.0/pypy/tool/option.py", line 4, in <module>
    from pypy.config.pypyoption import get_pypy_config
  File "/usr/share/pypy-1.0/pypy/config/pypyoption.py", line 4, in <module>
    from pypy.config.config import OptionDescription, BoolOption, IntOption, ArbitraryOption
  File "/usr/share/pypy-1.0/pypy/config/config.py", line 2, in <module>
    from py.compat import optparse
ImportError: No module named compat
$

Similar problems if I run

$ pypy bin/translatorshell.py

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.