pip install fails
keithbriggs opened this issue · 3 comments
keithbriggs commented
On a standard up-to-date Ubuntu 18 system:
python3.7 -m pip install tweedledum
In file included from ../../../src/Parser/QASM/Lexer.h:8:0,
from ../../../src/Parser/QASM/Lexer.cpp:5:
../../../include/tweedledum/Utils/Source.h:8:10: fatal error: filesystem: No such file or directory
#include <filesystem>
^~~~~~~~~~~~
compilation terminated.
keithbriggs commented
I think the basic problem is that setup.py does not specify that g++ 8 or higher is needed.
boschmitt commented
I think the basic problem is that setup.py does not specify that g++ 8 or higher is needed.
Yes. It requires a compiler which supports C++17 (both core language and library features)
keithbriggs commented
So could a check for this be added to setup.py? Otherwise you get a failure with cryptic error messages.