Public bug reported:

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

** Affects: pypy (Ubuntu)
     Importance: Undecided
         Status: New

-- 
pypy seems to have a packaging problem
https://bugs.launchpad.net/bugs/254941
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to