私はUbuntu 14.04でPython 2.7.13でvirtualenvを使用していますが、私はimport pygst
を働かせようとしています(私は完全なPython noobです)。Python - No module pygst
私はダウンロード:
https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.12.1.tar.xz
がでコンパイルしてインストール:
./configure --prefix=$VIRTUAL_ENV && make install
しかし、私はまだimport pygst
することはできません。
>>> import pygst
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named pygst
pygstに一致するいかなるピップパッケージもありません。私は本当にシンプルなものを見逃しているに違いないが、私はそれを理解することができない。それだけで、システムのPythonのインストールに影響を与えるため
これは、どちらかの助けにはならない、VIRTUALENVない:
sudo apt-get install python-gst0.10 gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly
を私はvirtualenvのでpygstをインストールするにはどうすればよいですか?
'sudo apt-get install 'を使ってみましたか? –
http://www.techinfected.net/2017/01/how-to-install-python-gst-in-ubuntu.html –
@code_byterはい。これはシステムのpythonのインストールではありません。それはvirtualenvです。 'python-gst0.10'モジュールのインストールは役に立ちません。 – Casper