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'm been having trouble getting octant installed on my system, but I did manage to get pygridgen installed. I was hoping a simple cp -r ~/src/pygridgen/external ~/src/octant might be all I need to install Octant after getting pygridgen installed. Unfortunately, this does not work. I can get octant to build, install, and import, but when I call octant.grid.Gridgen I get the following message:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/octant
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site- packages/octant/grid.py", line 900, in __init__
self._libgridgen = np.ctypeslib.load_library('_gridgen', '/opt/local/lib')
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site- packages/numpy/ctypeslib.py", line 128, in load_library
raise OSError("no file with expected extension")
OSError: no file with expected extension
This is precisely the message I had when I had problems installing pygridgen. This was fixed when I realized that building gridgen within the external directory was required. It would not work if I installed gridgen from within my source directory. But the previous fix is not working with Octant. Are the two libraries compatible? I'm tempted to uninstall pygridgen and just try Octant, but I'd hate to mess up my pygridgen installation.
The text was updated successfully, but these errors were encountered:
I'm been having trouble getting octant installed on my system, but I did manage to get pygridgen installed. I was hoping a simple
cp -r ~/src/pygridgen/external ~/src/octant
might be all I need to install Octant after getting pygridgen installed. Unfortunately, this does not work. I can get octant to build, install, and import, but when I calloctant.grid.Gridgen
I get the following message:This is precisely the message I had when I had problems installing pygridgen. This was fixed when I realized that building gridgen within the external directory was required. It would not work if I installed gridgen from within my source directory. But the previous fix is not working with Octant. Are the two libraries compatible? I'm tempted to uninstall pygridgen and just try Octant, but I'd hate to mess up my pygridgen installation.
The text was updated successfully, but these errors were encountered: