我是第一次实现比特币钱包,所以我对这件事了解不多。
但是通过关注电子官方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/