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