BTCPrivate-Legacy / electrum-btcp-legacy

BTCP Electrum (Lite Wallet), Use all wallets with caution. You should never share private keys, seed, or wallet file with anyone.
https://btcprivate.org
MIT License
129 stars 26 forks source link

Issue installing wallet on ubuntu 18.04 #100

Open aume27 opened 5 years ago

aume27 commented 5 years ago

I'm unable to launch electrum-btcp wallet after installation.

I've downloaded source code in tar.gz Extracted it and opened in terminal Then I followed the "Install on linux" guide https://github.com/BTCPrivate/electrum-btcp#for-linux Here is the outputs:

$pip install -r requirements.txt
(output)...
Collecting cython (from -r requirements.txt (line 15))
  Downloading https://files.pythonhosted.org/packages/91/00/f5891fa0e95b14bb7f5698fc4da3139318d3e36b12a49c7598936afd4f08/Cython-0.29.13-cp27-cp27mu-manylinux1_x86_64.whl (2.0MB)
    100% |████████████████████████████████| 2.0MB 690kB/s 
Collecting pyqt5 (from -r requirements.txt (line 16))
  Could not find a version that satisfies the requirement pyqt5 (from -r requirements.txt (line 16)) (from versions: )
No matching distribution found for pyqt5 (from -r requirements.txt (line 16))

$ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so
ln: failed to create symbolic link '/lib/x86_64-linux-gnu/libudev.so': File exists

$pyrcc5 icons.qrc -o gui/qt/icons_rc.py
Command 'pyrcc5' not found, but can be installed with:
sudo apt install pyqt5-dev-tools

$sudo apt install pyqt5-dev-tools
(output)...

$pyrcc5 icons.qrc -o gui/qt/icons_rc.py

$sudo desktop-file-install electrum.desktop

$protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto

$./electrum-btcp
Error: No module named 'dns'. Try 'sudo pip install <module-name>'

$sudo pip install dns
The directory '/home/username/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/username/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting dns
  Could not find a version that satisfies the requirement dns (from versions: )
No matching distribution found for dns
ghost commented 5 years ago

I think you are maybe using master branch try the branch here

https://github.com/BTCPrivate/electrum-btcp/tree/release/1.1.2?files=1

aume27 commented 5 years ago

I've switched to release/1.1.2 branch pulled and redone the process from guide I get the same kind of issues from within the electrum-btcp folders:

$pip install -r requirement.txt

Collecting pyqt5 (from -r requirements.txt (line 16))
  Could not find a version that satisfies the requirement pyqt5 (from -r requirements.txt (line 16)) (from versions: )
No matching distribution found for pyqt5 (from -r requirements.txt (line 16))

...(run properly)

$./electrum bash: ./electrum: No such file or directory

$./electrum-btcp Error: No module named 'pyaes'. Try 'sudo pip install <module-name>'

aume27 commented 5 years ago

When trying Hints&Debug guide Path: ~/.../scripts $python3 block_headers Traceback (most recent call last): File "block_headers", line 7, in from electrum import SimpleConfig, Network ModuleNotFoundError: No module named 'electrum'

ghost commented 5 years ago

What distro are you on?

aume27 commented 5 years ago

I'm on Ubuntu 18.04

aume27 commented 5 years ago

Here is other treads of people having same/similar issues: https://askubuntu.com/questions/1092294/how-do-i-install-bitcoin-private-electrum-wallet-on-ubuntu-16-04-lts https://www.reddit.com/r/BitcoinPrivate/comments/83093f/installing_electrum_btcp_wallet_for_ubuntu/

aguilaair commented 5 years ago

What device are you trying to run electrum on? Maybe the package binaries simply aren't available for your processor type.

aume27 commented 5 years ago

I'm on a acer laptop Intel® Core™ i5-7200U CPU @ 2.50GHz × 4 64bit.

aguilaair commented 5 years ago

Yeah, that shouldn't be a problem