*** tpb has joined #timvideos | 00:00 | |
-rajaniemi.freenode.net- [freenode-info] channel flooding and no channel staff around to help? Please check with freenode support: http://freenode.net/faq.shtml#gettinghelp | 00:00 | |
*** mithro has joined #timvideos | 07:31 | |
*** hyades has joined #timvideos | 11:04 | |
CarlFK | hyades: >>> import sys | 13:04 |
---|---|---|
CarlFK | >>> sys.path | 13:04 |
CarlFK | ['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', ..... | 13:04 |
CarlFK | That will show you where python looks for imports | 13:05 |
CarlFK | >>> import reportlab | 13:05 |
CarlFK | >>> reportlab.__file__ | 13:05 |
CarlFK | '/usr/lib/python2.7/dist-packages/reportlab/__init__.pyc' | 13:05 |
CarlFK | where python found it | 13:11 |
hyades | CarlFK: okay | 13:14 |
hyades | thnx | 13:18 |
CarlFK | hyades: you probably don't need to know this.. but here is some of how sys.path gets set: http://hg.python.org/cpython/file/c3e6df110737/Lib/site.py | 13:36 |
tpb | Title: cpython: c3e6df110737 Lib/site.py (at hg.python.org) | 13:36 |
CarlFK | I looked at that once to figure out how .pth files were processed | 13:36 |
CarlFK | i luv open source :) | 13:36 |
hyades | :) | 13:37 |
hyades | in my code I do something like "from gi.repository import Gst" | 13:40 |
hyades | if i install gstreamer from ubuntu packages, as shown here https://wiki.ubuntu.com/Novacut/GStreamer1.0 | 13:41 |
tpb | Title: Novacut/GStreamer1.0 - Ubuntu Wiki (at wiki.ubuntu.com) | 13:41 |
hyades | this is where i find them | 13:42 |
hyades | >>> import gi >>> gi.__file__ '/usr/lib/python2.7/dist-packages/gi/__init__.pyc' | 13:42 |
hyades | now if i install from source | 13:42 |
hyades | im not sure where to find them :) | 13:43 |
hyades | till now I was using the system's(ubuntu package) version..but that might not be the actually correct | 13:45 |
hyades | though it works great | 13:46 |
CarlFK | "install from source" the configure script (./configure or maybe configure.sh) will define a default location ... ./configure --help may show what it is | 13:47 |
hyades | yes | 13:47 |
CarlFK | having 2 installs of the same thing can get messy if the older one doesn't get removed or replaced | 13:48 |
hyades | exactly | 13:48 |
hyades | i think this is the package i need to install extra for python bindings of gstreamer | 13:49 |
hyades | http://cgit.freedesktop.org/gstreamer/gst-python | 13:49 |
tpb | <http://ln-s.net/-ent> (at cgit.freedesktop.org) | 13:49 |
hyades | but im not sure if this is sufficient or not | 13:50 |
*** shenki has joined #timvideos | 13:52 | |
*** hyades has quit IRC | 13:55 | |
*** shenki_ has quit IRC | 13:56 | |
CarlFK | https://launchpad.net/~gstreamer-developers/+archive/ppa | 13:57 |
tpb | <http://ln-s.net/7Ykn> (at launchpad.net) | 13:57 |
*** hyades has joined #timvideos | 14:00 | |
*** hyades has quit IRC | 14:59 | |
*** hyades has joined #timvideos | 15:03 | |
*** CarlFK has quit IRC | 16:09 | |
*** mithro has quit IRC | 16:57 | |
*** CarlFK has joined #timvideos | 17:39 | |
*** CarlFK has quit IRC | 17:48 | |
*** hyades has quit IRC | 18:00 | |
*** hyades has joined #timvideos | 18:26 | |
*** CarlFK has joined #timvideos | 19:07 | |
*** hyades has quit IRC | 19:34 | |
*** hyades has joined #timvideos | 19:51 | |
*** CarlFK has quit IRC | 19:59 | |
*** hyades has quit IRC | 22:28 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!