Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

pip install fails #165

Open
keithbriggs opened this issue Nov 8, 2021 · 3 comments
Open

pip install fails #165

keithbriggs opened this issue Nov 8, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@keithbriggs
Copy link

keithbriggs commented Nov 8, 2021

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 keithbriggs added the bug Something isn't working label Nov 8, 2021
@keithbriggs
Copy link
Author

I think the basic problem is that setup.py does not specify that g++ 8 or higher is needed.

@boschmitt
Copy link
Owner

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
Copy link
Author

So could a check for this be added to setup.py? Otherwise you get a failure with cryptic error messages.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants