Sunday, 2013-08-04

*** tpb has joined #timvideos00:00 [freenode-info] channel flooding and no channel staff around to help? Please check with freenode support:
*** mithro has joined #timvideos07:31
*** hyades has joined #timvideos11:04
CarlFKhyades: >>> import sys13:04
CarlFK>>> sys.path13:04
CarlFK['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', .....13:04
CarlFKThat will show you where python looks for imports13:05
CarlFK>>> import reportlab13:05
CarlFK>>> reportlab.__file__13:05
CarlFKwhere python found it13:11
hyadesCarlFK: okay13:14
CarlFKhyades: you probably don't need to know this.. but here is some of how sys.path gets set:
tpbTitle: cpython: c3e6df110737 Lib/ (at
CarlFKI looked at that once to figure out how .pth files were processed13:36
CarlFKi luv open source :)13:36
hyadesin my code I do something like "from gi.repository import Gst"13:40
hyadesif i install gstreamer from ubuntu packages, as shown here
tpbTitle: Novacut/GStreamer1.0 - Ubuntu Wiki (at
hyadesthis is where i find them13:42
hyades>>> import gi >>> gi.__file__ '/usr/lib/python2.7/dist-packages/gi/__init__.pyc'13:42
hyadesnow if i install from source13:42
hyadesim not sure where to find them :)13:43
hyadestill now I was using the system's(ubuntu package) version..but that might not be the actually correct13:45
hyadesthough it works great13:46
CarlFK"install from source"  the configure script  (./configure or maybe will define a default location ...  ./configure --help may show what it is13:47
CarlFKhaving 2 installs of the same thing can get messy if the older one doesn't get removed or replaced13:48
hyadesi think this is the package i need to install extra for python bindings of gstreamer13:49
tpb<> (at
hyadesbut im not sure if this is sufficient or not13:50
*** shenki has joined #timvideos13:52
*** hyades has quit IRC13:55
*** shenki_ has quit IRC13:56
tpb<> (at
*** hyades has joined #timvideos14:00
*** hyades has quit IRC14:59
*** hyades has joined #timvideos15:03
*** CarlFK has quit IRC16:09
*** mithro has quit IRC16:57
*** CarlFK has joined #timvideos17:39
*** CarlFK has quit IRC17:48
*** hyades has quit IRC18:00
*** hyades has joined #timvideos18:26
*** CarlFK has joined #timvideos19:07
*** hyades has quit IRC19:34
*** hyades has joined #timvideos19:51
*** CarlFK has quit IRC19:59
*** hyades has quit IRC22:28

Generated by 2.12.1 by Marius Gedminas - find it at!