Closed vindicatorr closed 8 years ago
please install python3-dev and gcc
$ apt-cache policy python-dev gcc
python-dev:
Installed: 2.7.9-1
Candidate: 2.7.9-1
Version table:
*** 2.7.9-1 0
500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
100 /var/lib/dpkg/status
gcc:
Installed: 4:5.2.1-3ubuntu1
Candidate: 4:5.2.1-3ubuntu1
Version table:
*** 4:5.2.1-3ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
100 /var/lib/dpkg/status
sorry my fault. python3-dev
$ apt-cache policy python3-dev
python3-dev:
Installed: 3.4.3-4ubuntu1
Candidate: 3.4.3-4ubuntu1
Version table:
*** 3.4.3-4ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
100 /var/lib/dpkg/status
$ locate Python.h
/usr/include/python2.7/Python.h
/usr/include/python3.4m/Python.h
I setup ubuntu and i get the same exception with python3. Quick workaround. Use python2 as long as i am looking for the reason.
Looks like a bug. pip3 is version 3.5 but python3-dev is version 3.4.
install python3.5-dev and try again.
Success:
Running setup.py install for pycoin
Installing bu script to /usr/local/bin
Installing cache_tx script to /usr/local/bin
Installing fetch_unspent script to /usr/local/bin
Installing spend script to /usr/local/bin
Installing genwallet script to /usr/local/bin
Installing block script to /usr/local/bin
Installing ku script to /usr/local/bin
Installing tx script to /usr/local/bin
Successfully installed psutil storjcore pycrypto pycoin ecdsa
Cleaning up...
Thx for reporting the bug. I added install introduction for python3-dev and gcc. This will not solve the python version missmatch but it is needed for psutil anyway.
I close this bug for now and i hope ubuntu will fix the version missmatch soon.
Ubuntu 15.10 (clean install)