-
Notifications
You must be signed in to change notification settings - Fork 372
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
NEST compiles without Python bindings on Travis CI #1365
Comments
I was excited to see the updated installation instructions, but the nest installation from the PPA also installs without Python bindings. |
Now that I managed to find the right Python executables/includes and libraries (using the 3.5 library because Travis doesn't really seem to have the right 3.7 library, it uses Perhaps this thread shines some light on the issue: mcfletch/pyopengl#11 |
We also had the same problem in finding the python libraries and includes in Travis workers and I set the path explicitly like here. As you said, you were able to find the libraries and headers, hope that your problem has been solved. |
Ok thanks @lekshmideepu, I was using a different include dir and library file. But so NEST is untested on Python 3.7? Because reverting to 3.6 on Travis fixed the |
I'm not familiar with the issue or frameworks used to build NEST but the last post in pytries/DAWG#40 might also help solve the problem in the pynestkernel? There's many occurences of the mentioned |
Just to mention that I'm using NEST fine on Python 3.7/3.8. The |
Well have you looked at the errors in #1332? There seems to be an issue
with the `PyThreadState` missing members `exc_*` which I also get here on
Travis when I try to compile with 3.7.
But the main original issue of this thread is solved by copying the cmake
flags! Let's close this issue but we can keep going on #1332 because I
haven't had any advice there :) I suppose it'll be a cmake/cython version
thing but I'm on the latest versions.
…On Thu, 12 Dec 2019, 13:14 Tanguy Fardet, ***@***.***> wrote:
Just to mention that I'm using NEST fine on Python 3.7/3.8. The except +
statement means that Cython will intercept thrown errors, convert them to
Python errors, then throw them to have a proper termination and not a
segfault crash and burn, not sure it's related to anything here...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1365?email_source=notifications&email_token=AG4VQS75TOGMQXUE27AOJRDQYITLDA5CNFSM4JZXK632YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGWPFPA#issuecomment-564982460>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG4VQS5FFOI5JRPQH6R7VD3QYITLDANCNFSM4JZXK63Q>
.
|
reported as fixed by user. |
Hi, because of #1332 I've switched from Semaphore CI to Travis CI, where NEST does compile, but for some reason it doesn't add the Python bindings. The only relevant error in the build log I could find seems to be this:
Could this cause CMake to decide to compile without Python support?
How could this be resolved?
The compile commands are:
And I've pasted the full log here
The text was updated successfully, but these errors were encountered: