citp/BlockSci

Problems with installation on ubuntu 20.04LTS

Opened this issue · 3 comments

By doing the last command CC=gcc-7 CXX=g++-7 sudo -H pip3 install -e blockscipy on the blocksci installation I get a lot of error messages. It probably has to do with the headers installed in the 18.04LTS version of ubuntu to define things differently from the 20.04LTS version (version I´m currently using on ubuntu).

@RodrigoCardoso8 you can use clang (e.g. clang-7) to build BlockSci on Ubuntu 20.04.
See the Dockerfile here.

I had trouble using clang-7, but using an older version of GCC, namely with

export CC=/usr/bin/gcc-7
export CXX=/usr/bin/g++-7

helped here. 🤷🏻

I had trouble using clang-7, but using an older version of GCC, namely with

export CC=/usr/bin/gcc-7
export CXX=/usr/bin/g++-7

helped here. 🤷🏻

Thanks @nomeata, after much work it worked for me too in ubuntu 20.04 using gcc-7 and g++-7.

Beforehand I installed these exact python libraries versions:

cassandra-driver==3.25.0
requests==2.27.1
pandas==1.4.1
numpy==1.22.3
simplejson==3.17.6