python-3.x - 如何在服务器上使用 Python3 安装和运行电子钱包?

标签 python-3.x centos payment bitcoin wallet

我是第一次实现比特币钱包,所以我对这件事了解不多。

但是通过关注电子官方documentation ,我尝试在我的 macbook 上安装电子,它运行良好,现在我想在运行 centOS 的服务器上安装它。但是安装命令python3 run_electrum抛出此错误

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted (core dumped)



我在这里有什么遗漏吗,我使用的是 python 3.6.4

最佳答案

好的,而不是直接运行电子,我尝试使用此命令安装电子

python3 -m pip install Electrum-3.3.8.tar.gz



然后

sudo ln -s ~/.local/bin/electrum /usr/local/bin/electrum



在此之后,我现在可以使用 electrum我的服务器上的命令,我现在也成功创建了钱包

还请记住,您可以按照来自电子的替代说明从您选择的任何文件夹中运行电子:
tar -xvf Electrum-3.3.8.tar.gz python3 Electrum-3.3.8/run_electrum

关于python-3.x - 如何在服务器上使用 Python3 安装和运行电子钱包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58115908/

相关文章:

php - 使用未定义的常量 LIBXML_HTML_NOIMPLIED

rest - 使用 REST api 执行 PayPal 支付

python : Generate normal distribution in the order of the bell

python - 用于查找列表/集合中唯一元素的代码

python - pandas.read_csv 来自字符串或包数据

Python清晰的线条奇怪的注释字符

Php 仅在 ssl 上注释掉

linux - 在没有网络的Linux Centos上安装开发工具

android - 如何在手机中使用 NFC 阅读器接收付款

payment - 平衡支付 - 托管账户和(市场)商户余额之间的区别?