|
January 22, 2016, 10:31:59 AM |
|
Dear all, I have tried to install Armory on my Raspberry pi to keep it as an offline wallet but I have not succeeded and I am in need of help. I am new to bitcoins and would rate myself a "beginner" linux user. So the question is simple: how do I get Armory to run on my Raspberry pi 2 running Raspbian, from SCRATCH?
This is what i did, summarized in 10 steps:
1. I downloaded the tar.gz file (armory_0.93.2_raspbian-armhf.tar.gz). And I unpacked it. 2. I unpacked the contents to their correct paths (/usr/bin, /usr/lib/ usr/share). 3. Ah, I saw it already has a binary, i thought: "nice". So I go to /usr/bin, and run execute it: $ ./armory 4. This gives a python error: the package "PSUtil" is missing. 5. So i installed it first running $ sudo apt-get install build-essential python-dev python-pip, then: $ sudo pip install psutil, then i checked it: $ sudo python -c "import psutil". This gave no warnings or errors. 6. I retried to run it, then I get this new error message:
pi@raspberrypi /usr/bin $ ./armory (ERROR) ArmoryUtils.py:1174 - Error getting system details: Traceback (most recent call last): File "/usr/lib/armory/armoryengine/ArmoryUtils.py", line 1172, in <module> SystemSpecs = GetSystemDetails() File "/usr/lib/armory/armoryengine/ArmoryUtils.py", line 1167, in GetSystemDetails out.HddAvailB = getHddSize(BTC_HOME_DIR) / (1024**3) File "/usr/lib/armory/armoryengine/ArmoryUtils.py", line 1164, in getHddSize s = os.statvfs(adir) OSError: [Errno 2] No such file or directory: '/home/pi/.bitcoin/' (ERROR) ArmoryUtils.py:1175 - Skipping. (ERROR) Traceback (most recent call last): File "/usr/lib/armory/ArmoryQt.py", line 7140, in <module> import qt4reactor ImportError: No module named qt4reactor
Traceback (most recent call last): File "/usr/lib/armory/ArmoryQt.py", line 7140, in <module> import qt4reactor ImportError: No module named qt4reactor
7. When I execute it as sudo, I get a shorter and different error log:
pi@raspberrypi /usr/bin $ sudo ./armory (ERROR) ArmoryUtils.py:1174 - Error getting system details: Traceback (most recent call last): File "/usr/lib/armory/armoryengine/ArmoryUtils.py", line 1172, in <module> SystemSpecs = GetSystemDetails() File "/usr/lib/armory/armoryengine/ArmoryUtils.py", line 1167, in GetSystemDetails out.HddAvailB = getHddSize(BTC_HOME_DIR) / (1024**3) File "/usr/lib/armory/armoryengine/ArmoryUtils.py", line 1164, in getHddSize s = os.statvfs(adir) OSError: [Errno 2] No such file or directory: '/root/.bitcoin/' (ERROR) ArmoryUtils.py:1175 - Skipping. Client is not authorized to connect to ServerArmoryQt.py: cannot connect to X server :2
8. I am now stuck, there is already a qt4reactor.py in /usr/lib/armory/. Just to try, I also manually installed ALL the dependencies:
G++: sudo apt-get install g++: done (already on it) Crypto++: sudo apt-get install libcrypto++-dev: done SWIG: sudo apt-get install swig: done Python: sudo apt-get install python-dev: done (needed to run sudo apt-get update first!) Python Twisted: sudo apt-get install python-twisted: done PyQt4: sudo apt-get install libqtcore4: done (already on it) sudo apt-get install libqt4-dev: done sudo apt-get install python-qt4: done sudo apt-get install pyqt4-dev-tools: done
9. This didnt change anything since I am not building from source i guess? But i gave it a try anyways.
10. So, am I on the right track here? Any solutions? There is little help on the website for people like me, and its a bit odd i run into problems like this?.....
Thank you so much for all the help.
|