-
Notifications
You must be signed in to change notification settings - Fork 29
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
Python issues compiling in Linux #32
Comments
Hmm, interesting. The behaviortracker code just requires Python to be embedded. For Windows this just meant I needed to include:
and The only other issue I had run into, but this has to do with actually running Python code within the software, is your numpy install must include a .libs folder which contains an important .dll file. This folder doesn't always show up when installing numpy through conda but does seem to always show up when using pip install. |
Hmm, OK. so I definitely have python installed: but for another application I had to set a symbolic link from "python" to direct to "python2" so: Maybe that is an issue as the path to python leads to the 2.7 location? Also, I have numpy installed via pip3: I may have to direct the Qt .pro file to the correct python locations.
with those directories holding the following files:
Still get the same errors:
|
I have tried the INCLUDEPATH statements both inside and out of the win32 braces:
If I comment out
Then I get missing opencv errors. So my guess is that for linux the path statements do not need system specific braces and should just be as I have them above. The error is looking for Python.h. I don't see a file or directory of that name in any of the INCLUDEPATHs above. So this might be the issue then. Where is that file/directory in Windows? |
OK. I might have figured it out.
The program compiles without errors and I can launch the application. |
OK. So For some reason when I tried to load a config file the program crashed. So I tried re-compiling with debug. At which point I was unable to reproduce the build that I previously had.
|
I am getting errors when compiling on Ubuntu 20.04 concerning Python.h not found for behaviortracker and behaviortrackerworker.
Some sleuthing around the web leads me to believe that I am missing some python libraries.
I have python3-dev and numpy installed. Does behaviortracker require additional python libraries?
The text was updated successfully, but these errors were encountered: