You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to compile python following your example, however, after trying various things, I was not able to get workable frozen output with numpy.
I'm working in a shared environment, so I have most of the stuff at non-standard locations.
First, I tried to run the example as is. This was not successful. I believe that the reason is that I'm using openblas and I was not able to configure the site.cfg for numpy 1.6.2 appropriately.
Since I was able to build python 2.7.8 with numpy 1.8.2 before, I tried to replace the versions you provided with the newer ones. In this case, I got both hello and helloFrozen compiled. For hello, I can import numpy in the interactive mode and everything works. However, for helloFrozen, when I import numpy, I get a message saying "ImportError: cannot import name multiarray".
I believe that the reason is that there is no multiarray.o file in the numpy build directory, there is just a multiarray.so file, but I have no idea how can I create it.
BTW, I also had to comment out the init_sort() from numpy_builtin.h to make it compile with the new numpy version. Do you think that this could cause any harm?
Thanks for help.
The text was updated successfully, but these errors were encountered:
Hi,
I would like to compile python following your example, however, after trying various things, I was not able to get workable frozen output with numpy.
I'm working in a shared environment, so I have most of the stuff at non-standard locations.
First, I tried to run the example as is. This was not successful. I believe that the reason is that I'm using openblas and I was not able to configure the site.cfg for numpy 1.6.2 appropriately.
Since I was able to build python 2.7.8 with numpy 1.8.2 before, I tried to replace the versions you provided with the newer ones. In this case, I got both hello and helloFrozen compiled. For hello, I can import numpy in the interactive mode and everything works. However, for helloFrozen, when I import numpy, I get a message saying "ImportError: cannot import name multiarray".
I believe that the reason is that there is no multiarray.o file in the numpy build directory, there is just a multiarray.so file, but I have no idea how can I create it.
BTW, I also had to comment out the init_sort() from numpy_builtin.h to make it compile with the new numpy version. Do you think that this could cause any harm?
Thanks for help.
The text was updated successfully, but these errors were encountered: