Nope: ~ cat /usr/bin/pitivi #!/usr/bin/env python2 # Pitivi video editor [...]
I edited the first line of /usr/bin/pitivi to #!/usr/bin/python, but now I get this new error: ~ pitivi Failed to initialize modules: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183 ERROR - The following hard dependencies are unmet: ================================================== - Clutter not found on the system - ClutterGst not found on the system - Gst not found on the system - GES not found on the system - Gtk not found on the system - Gio not found on the system Traceback (most recent call last): File "/usr/bin/pitivi", line 135, in <module> _check_requirements() File "/usr/bin/pitivi", line 111, in _check_requirements if not check_requirements(): File "/usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/check.py", line 219, in check_requirements dependency.check() File "/usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/check.py", line 62, in check self.component = self._try_importing_component() File "/usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/check.py", line 144, in _try_importing_component from gi.repository import Gst File "/usr/lib/python2.7/dist-packages/gi/repository/__init__.py", line 25, in <module> from ..importer import DynamicImporter File "/usr/lib/python2.7/dist-packages/gi/importer.py", line 27, in <module> from .module import DynamicModule File "/usr/lib/python2.7/dist-packages/gi/module.py", line 59, in <module> from .types import \ File "/usr/lib/python2.7/dist-packages/gi/types.py", line 44, in <module> from . import _propertyhelper as propertyhelper File "/usr/lib/python2.7/dist-packages/gi/_propertyhelper.py", line 23, in <module> import gi._gi File "/usr/lib/python2.7/dist-packages/gi/gi/__init__.py", line 39, in <module> raise ImportError(_static_binding_error) ImportError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183 I'm running Pitivi version 0.93-4.2 Richard Decal University of Washington Fairhall Lab On Thu, Feb 4, 2016 at 4:22 PM, Sebastian Dröge <sl...@coaxion.net> wrote: > On Do, 2016-02-04 at 16:06 -0800, Richard Decal wrote: > > I figured out this has to do with me using the Anaconda Python > > distribution. How can I make it so that Pitivi uses /usr/bin/python > > without changing my system's default Python env? > > It should already do that, by having #!/usr/bin/python at the top of > /usr/bin/pitivi. Doesn't it? It definitely has in newer versions, e.g. > 0.95. > > How does the anaconda python distribution work, how does it install > stuff on top of Debian and make it available?