Hi
Thanks for the help thus far, but I still have problems. Sorry for this massive post, but I think it makes it easier to debug.
I'm trying to get this thing working on both windows and linux, but encounter difficulties on both.
1) Windows:I put the txjsonrpc into the suggested folder, I used this one:
https://github.com/oubiwann/txjsonrpcI installed twisted, and that required zope, so I installed that too.
Then I installed psutils-1.2.1 and confirmed that it's working.
I'm running this thing in Python 2.7.6, opening the file from the shell, then hitting run (F5)
So now I get this error:
----------------------
(CRITICAL) armoryengine.py:1043 - C++ block utilities not available.
(CRITICAL) armoryengine.py:1044 - Make sure that you have the SWIG-compiled modules
(CRITICAL) armoryengine.py:1045 - in the current directory (or added to the PATH)
(CRITICAL) armoryengine.py:1046 - Specifically, you need:
(CRITICAL) armoryengine.py:1047 - CppBlockUtils.py and
(CRITICAL) armoryengine.py:1051 - _CppBlockUtils.pyd
Traceback (most recent call last):
File "X:\BitcoinArmory-master\armoryd.py", line 49, in <module>
from armoryengine import *
File "X:\BitcoinArmory-master\armoryengine.py", line 1039, in <module>
import CppBlockUtils as Cpp
ImportError: No module named CppBlockUtils
----------------------
Any suggestions?
I'm using the latest source from
https://github.com/etotheipi/BitcoinArmory, downloaded as zip.
2) Ubuntu 12.04I put the txjsonrpc into the suggested folder, I used this one:
https://github.com/oubiwann/txjsonrpcI tried installing psutils-1.2.1:
----------------------
$ python setup.py install
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-i686-2.7
creating build/lib.linux-i686-2.7/psutil
copying psutil/_pslinux.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_psbsd.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_compat.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_psosx.py -> build/lib.linux-i686-2.7/psutil
copying psutil/__init__.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_pssunos.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_error.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_psmswindows.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_psposix.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_common.py -> build/lib.linux-i686-2.7/psutil
copying psutil/error.py -> build/lib.linux-i686-2.7/psutil
running build_ext
building '_psutil_linux' extension
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/psutil
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-i686-2.7/psutil/_psutil_linux.o
psutil/_psutil_linux.c:13:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------
Since install failed, I put psutils into the same folder that I'm trying to run the armoryd.py from, then try to run it:
----------------------
$ python armoryd.py
Traceback (most recent call last)
File "armoryd.py", line 49, in <module>
from armoryengine import *
File "/home/linuxuser/Documents/arm/armoryengine.py", line 47, in <module>
import psutil
File "/home/linuxuser/Documents/arm/psutil/__init__.py", line 88, in <module>
import psutil._pslinux as _psplatform
File "/home/linuxuser/Documents/arm/psutil/_pslinux.py", line 20, in <module>
import _psutil_linux
ImportError: No module named _psutil_linux
$
----------------------
More suggestions?