openSUSE Leap 如何安装 Skype?

openSUSE Leap 如何安装 Skype?有大佬知道吗

opi 有 skype 子命令,可以加 M$ 官方源装,可以试下能用不

opi skype

opi 是什么,需要安装么,如果需要请提供一下代码,谢谢

官方源有

zypper in opi

直接装即可

peter@localhost:~> which opi
/usr/bin/opi
peter@localhost:~> opi skype
Traceback (most recent call last):
File “/usr/bin/opi”, line 12, in
import opi
ModuleNotFoundError: No module named ‘opi’
安装好后显示没有 opi?

额,你 which python3 看下

peter@localhost:~> which python3
/usr/bin/python3
peter@localhost:~>

ls -al /usr/bin/python3

peter@localhost:~> ls -al /usr/bin/python3
lrwxrwxrwx 1 root root 9 Oct 28 14:05 /usr/bin/python3 → python3.9

Leap15.5 ?
现在系统 python3 版本多少的,我看 obs 应该是 3.6 ?
看下 opi 的文件,看下 python 多少呢

rpm -ql opi

系统自带是 3.6 的,我安装了 3.9
peter@localhost:~> python3 -V
Python 3.9.18

peter@localhost:~> rpm -ql opi
/etc/opi.cfg
/usr/bin/opi
/usr/lib/python3.6/site-packages/opi
/usr/lib/python3.6/site-packages/opi-3.5.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/opi/init.py
/usr/lib/python3.6/site-packages/opi/pycache
/usr/lib/python3.6/site-packages/opi/pycache/init.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/pycache/pager.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/pycache/state.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/pycache/version.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/backends
/usr/lib/python3.6/site-packages/opi/backends/init.py
/usr/lib/python3.6/site-packages/opi/backends/pycache
/usr/lib/python3.6/site-packages/opi/backends/pycache/init.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/config
/usr/lib/python3.6/site-packages/opi/config/init.py
/usr/lib/python3.6/site-packages/opi/config/pycache
/usr/lib/python3.6/site-packages/opi/config/pycache/init.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/pager.py
/usr/lib/python3.6/site-packages/opi/plugins
/usr/lib/python3.6/site-packages/opi/plugins/init.py
/usr/lib/python3.6/site-packages/opi/plugins/pycache
/usr/lib/python3.6/site-packages/opi/plugins/pycache/init.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/anydesk.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/atom.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/brave.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/chrome.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/dotnet.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/jami.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/maptool.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/megasync.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/ms_edge.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/packman.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/plex.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/resilio-sync.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/skype.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/slack.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/sublime.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/teams-for-linux.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/teamviewer.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/vivaldi.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/vs_code.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/vs_codium.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/yandex-browser.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/yandex-disk.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/pycache/zoom.cpython-36.pyc
/usr/lib/python3.6/site-packages/opi/plugins/anydesk.py
/usr/lib/python3.6/site-packages/opi/plugins/atom.py
/usr/lib/python3.6/site-packages/opi/plugins/brave.py
/usr/lib/python3.6/site-packages/opi/plugins/chrome.py
/usr/lib/python3.6/site-packages/opi/plugins/dotnet.py
/usr/lib/python3.6/site-packages/opi/plugins/jami.py
/usr/lib/python3.6/site-packages/opi/plugins/maptool.py
/usr/lib/python3.6/site-packages/opi/plugins/megasync.py
/usr/lib/python3.6/site-packages/opi/plugins/ms_edge.py
/usr/lib/python3.6/site-packages/opi/plugins/packman.py
/usr/lib/python3.6/site-packages/opi/plugins/plex.py
/usr/lib/python3.6/site-packages/opi/plugins/resilio-sync.py
/usr/lib/python3.6/site-packages/opi/plugins/skype.py
/usr/lib/python3.6/site-packages/opi/plugins/slack.py
/usr/lib/python3.6/site-packages/opi/plugins/sublime.py
/usr/lib/python3.6/site-packages/opi/plugins/teams-for-linux.py
/usr/lib/python3.6/site-packages/opi/plugins/teamviewer.py
/usr/lib/python3.6/site-packages/opi/plugins/vivaldi.py
/usr/lib/python3.6/site-packages/opi/plugins/vs_code.py
/usr/lib/python3.6/site-packages/opi/plugins/vs_codium.py
/usr/lib/python3.6/site-packages/opi/plugins/yandex-browser.py
/usr/lib/python3.6/site-packages/opi/plugins/yandex-disk.py
/usr/lib/python3.6/site-packages/opi/plugins/zoom.py
/usr/lib/python3.6/site-packages/opi/state.py
/usr/lib/python3.6/site-packages/opi/version.py
/usr/share/doc/packages/opi
/usr/share/doc/packages/opi/README.md
/usr/share/licenses/opi
/usr/share/licenses/opi/LICENSE
/usr/share/man/man8/opi.8.gz
/usr/share/metainfo/org.openSUSE.opi.appdata.xml

对上了,不建议改 python3 指向自己装的版本,这样装的包就会这样出问题,直接用 python3.9 啥的也行吧

跑 opi 的话用 python3.6 /usr/bin/opi 试下

flatpak install flathub com.skype.Client

本主题在最后一个回复创建后60分钟后自动锁定。不再允许添加新回复。