-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CXX env var missing! #20
Comments
hi @alirezaafzalaghaei , thanks for opening this. This is strange, I just tried your exact commands and it works for me. We never had this issue before.
and post here the result? |
Did you confirm that Edit: It looks like Francesco had the same thought :) |
@fnrizzi @jtencer
|
@alirezaafzalaghaei can you please post here what you get from doing:
In your message above i don't see the output of env :) |
|
Looks like it's in the environment, but somehow not getting included in the python environment? You said there was a difference between what you see when you printed
and what happens when you print Is it possible that you're executing setup.py with a different python installation? |
I also wondering if this has something to do with the zshell since that is the only "different" thing here that I can think of |
@jtencer
@fnrizzi |
it is not just checking that it exits, also that it supports C++14. In any case, if you are able to bypass this step and build and run tests, that is great. Am i right? No surprises there? |
Fortunately, everything else is okay. The tests are running well. Thanks for your great project :) |
thanks @alirezaafzalaghaei ! |
As the project mentioned, I defined the environment variable
CXX
referring to/usr/bin/g++
, but the project raises the following runtime error at the installation process:The error is raised both in the
pip install pressio4py
and GitHub source code building commands.Finally, the problem has been solved by editing
setup.py
file, addingos.environ['CXX'] = '/usr/bin/g++'
at line 110.The text was updated successfully, but these errors were encountered: