-
Notifications
You must be signed in to change notification settings - Fork 131
BUG: Errors when upgrading to gcc version 15 #1401
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
Comments
May be related to #1398. How did you install PyTensor? Is there any error message/stacktrace? ChatGPT answer is completely senseless, you would see a compile error in that case. |
Hi @mvds314, please recreate your Conda environment. That will force gcc 14. |
Would still be useful to know if it's the same error or different |
Also what's the warning? |
The error I got was so long, that I coudn't really figure out what the actual error is. Also, I am not using Anaconda, I am using winpython with Python version 3.13 and installed pytensor with pip.
|
Thanks @mvds314 for the additional info! The output shows essentially the same error occurring over and over. If you're lucky you may be able to paste one of those long lines from your output (it should look like the following), and hopefully it executes and shows a more informative error message: "..\msys64\mingw64\bin\g++.EXE" -shared -g -O3 -fno-math-errno -Wno-unused-label -Wno-unused-variable -Wno-write-strings -Wno-c++11-narrowing -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -m64 -DMS_WIN64 -I"..\python\Lib\site-packages\numpy_core\include" -I"..\python\include" -I"..\python\Lib\site-packages\pytensor\link\c\c_code" -L"..\python\libs" -L"..\python" -o "C:\Users\USERNAME\AppData\Local\PyTensor\compiledir_Windows-11-10.0.22631-SP0-Intel64_Family_6_Model_186_Stepping_2_GenuineIntel-3.13.3-64\tmp_oc9l42q\me7fa920728e5d2389ff334307defa22f3d9bd0933d7665ee04ca7b89f0a69b2d.pyd" "C:\Users\USERNAME\AppData\Local\PyTensor\compiledir_Windows-11-10.0.22631-SP0-Intel64_Family_6_Model_186_Stepping_2_GenuineIntel-3.13.3-64\tmp_oc9l42q\mod.cpp" -lopenblas -lgfortran "..\python\python313.dll" My expectation is that this is somehow a duplicate of #1398, but I'm surprised that you're not getting the same |
When I do this, I get a popup window with
|
Reopening because I think we'd need to merge also #1400 to fix this. |
It's merged |
@mvds314 could you please try again with the version we just released? |
Uh oh!
There was an error while loading. Please reload this page.
Describe the issue:
I am getting compiler errors when I upgrade from from gcc 14 to 15 (under Windows using the gcc compiler of MSYS2).
I don't understand the details, but according to ChatGpt:
Reproducable code example:
Error message:
PyTensor version information:
2.30.3
Context for the issue:
No response
The text was updated successfully, but these errors were encountered: