首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用‘`python app.py`’启动Kazam?

用‘`python app.py`’启动Kazam?
EN

Ask Ubuntu用户
提问于 2018-09-29 14:16:59
回答 1查看 257关注 0票数 0

我想测试kazam (屏幕广播程序),所以我尝试从源代码中启动它。

kazam目录中,我完成了以下操作:

代码语言:javascript
复制
python app.py` 

但除了一些关于gtk的警告外,什么都没有发生。有可能吗?

代码语言:javascript
复制
app.py:24: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
app.py:33: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, GObject
/home/campagne/Documents/unstable/kazam/backend/webcam.py:24: PyGIWarning: GUdev was imported without specifying a version first. Use gi.require_version('GUdev', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, GUdev
/home/campagne/Documents/unstable/kazam/backend/gstreamer.py:35: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, Gst, GstVideo
/home/campagne/Documents/unstable/kazam/backend/gstreamer.py:35: PyGIWarning: GstVideo was imported without specifying a version first. Use gi.require_version('GstVideo', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, Gst, GstVideo
/home/campagne/Documents/unstable/kazam/frontend/window_area.py:29: PyGIWarning: Wnck was imported without specifying a version first. Use gi.require_version('Wnck', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GObject, Gdk, Wnck, GdkX11
/home/campagne/Documents/unstable/kazam/frontend/window_countdown.py:29: PyGIWarning: PangoCairo was imported without specifying a version first. Use gi.require_version('PangoCairo', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GObject, GLib, Gdk, Pango, PangoCairo

编辑:不是一个完整的解决方案,但至少它没有破坏我的安装。

我在用pip。在虚拟环境中,我可以:

代码语言:javascript
复制
pip install -e unstable

它会安装它。(unstablesetup.py必须在其中的回购文件夹)每个代码修复,我可以这样做:

代码语言:javascript
复制
pip install --upgrade -e unstable

还不错!

EN

回答 1

Ask Ubuntu用户

发布于 2018-09-29 14:24:50

我可以建议安装Kazam 从存储库 (自14.04以来,LTS版本为1.4.4),通过以下命令安装所有依赖项:

代码语言:javascript
复制
sudo add-apt-repository universe
sudo apt-get install kazam

然后测试一下。

如果功能还不够,请尝试使用基于源代码的版本。它将在安装所有依赖项时正常启动。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1079507

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档